æè¿PHPã®ä¸èº«ãæ¢ããã¨ãå¤ããªã£ã¦ãã¾ããã以åPHPã«ã³ãã¡ã¬ã³ã¹2011ã§è©±ãããPHPãããã¯ãã¦ãªã¬ãªã¬ææ³ã追å ãããã®ãªãã§ã¯ãPHPã®å é¨ã®åããç¥ãã«ã¯ã½ã¼ã¹ã³ã¼ããªã¼ãã£ã³ã°ã ãã ã¨å®éã«ã©ããªåãããã¦ããã®ããããã¥ããã®ã§ãããããæã¯GDB使ã£ã¦ããã¨ããããã¨ãããµããªãã¨ãè¨ãã¾ãããã¨ãããã¤ã¤ãå®éã«ã¯GDBãç´æ¥ä½¿ã£ã¦ã¯ãã¾ãããæä½ãããªããã£ãéãã¦ä½¿ãã¥ããããã§ãã代ããã«ãGDBããã³ãã¨ã³ãã®ä¸ã¤ã§ããCGDBã¨ããã½ããã¦ã§ã¢ãå©ç¨ãã¦ãã¾ãã ãã®è¨äºã§ã¯ãã®CGDBã®æ¦è¦ã«ã¤ãã¦ç°¡åã«èª¬æãã¾ãã CGDBã®ä½ã便å©ãªã®ã GDBããã³ãã¨ã³ãã«ã¯ãDDDãInsightãªã©ãããã¾ããã¾ããç´ç²ãªGDBããã³ãã¨ã³ãã®ä»ã«ããEclipse CDTãXcodeãªã©GDBããã³ãã¨ã³ãã¨ãã¦ã®æ©è½ãæãã¦ããIDEãªã©ãããã¾ããã
Project Management Software Understand how PI® can automate your processes Project Insight offers powerful tools for project managers and teams in order to deliver optimal performance and ensure success. An enterprise project and portfolio management software, Project Insight offers personalized dashboards, intelligent scheduling, resource management, collaboration, time and expense tracking, proj
ãµã¼ãã¹çµäºã®ãç¥ãã ãã¤ãYahoo! JAPANã®ãµã¼ãã¹ããå©ç¨ããã ãèª ã«ãããã¨ããããã¾ãã ã客æ§ãã¢ã¯ã»ã¹ããããµã¼ãã¹ã¯æ¬æ¥ã¾ã§ã«ãµã¼ãã¹ãçµäºãããã¾ããã ä»å¾ã¨ãYahoo! JAPANã®ãµã¼ãã¹ããæ顧ãã ããã¾ãããããããããé¡ããããã¾ãã
http://mysite.verizon.net/astronaut/vim/#GDBMGR ã¡ãã£ã¨ã ã試ãã¦ã¿ãã vimgdb ã¨éããã³ã³ã½ã¼ã«ã§ã使ããã python or perl ã¤ã³ã¿ã¼ãã§ã¤ã¹ãå¿ è¦ã ã³ã³ãã¤ã«ãã¨ã㦠export LD_LIBRARY_PATH="$HOME/.vim/gdbmgr/src:default"èµ·å :GdbMgr prognameãã¼ãã¤ã³ã F6 ãã¬ã¼ã¯ãã¤ã³ããã°ã« n next s step ãªã©ãã³ã³ãã¤ã«ããå ±æãªãã¸ã§ã¯ãã« libcall() ãã¦ãããã forkpty() ã㦠gdb ãèµ·åãã¦ããã ç¾æç¹ã§ã®å®æ度ã¯ãããå°ããªããã°ã©ã ã«ã¯ä½¿ãããã ãã©â¦ã¨ããæãã TTYShare ã«ã¢ããããããã¾ã表示ãããªãã£ãã®ã§ãttyrecord ãã¼ã¿ãããã«ç½®ãã¨ãã http://www.k3.di
Twitterä¸ã§ã@alohakun ãè¨åãã¦ãã GDB ã® reverse debugging ã®æ©è½ã使ã£ã¦ã¿ã¾ããã GDB ã«ãã¬ã¼ã¹ã¨éå®è¡æ©è½å ¥ã£ãã®ãã http://www.gnu.org/software/gdb/news/reversible.html http://twitter.com/alohakun/status/4481139191 ã¾ãã¯ç°¡åãªä½¿ãæ¹ã説æãããã¨ã«ãã¤ã³ã¹ãã¼ã«æ¹æ³ã説æãã¾ãã ãããªã¨ãã«ä¾¿å© ãå¤ãªãã¨ããèµ·ãã¦ãã大ä½ã®å ´æãããã£ã¦ããã¨ã ãããã°ä¸ã«ã大ä½ã©ãã§å¤ãªãã¨ãèµ·ãã¦ãããã¯ããã£ã¦ãããã©ãç´°ããå ´æã¯ç¹å®ã§ãã¦ããªãã¨ããreverse debuggingãå¹æãçºæ®ãã¾ãã GDBã§ã¹ãããå®è¡ããã¦ãã¦ãããã¾ã£ã!è¡ãããã!ãã¨ããçµé¨ã¯ããããã¨æãã¾ããããããã¨ããä»ã¾ã§ã¯ããã°ã©ã ã®å®è¡ãæ
gdb 㧠catch throw ã使ãã°ä¾å¤ãææã§ããã¨ãã話ãã³ã¡ã³ãã§æãã¦ããã ããã®ã§ã試ãã¦ã¿ãã #include <string> static void foo(void); int main() { foo(); return 0; } static void foo() { std::string s = "abc"; s.replace(-1, 0, "d"); } % g++ -g -Wall -W -O2 exc_bt.cpp -o exc_bt % gdb exc_bt GNU gdb 6.4.90-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you
gdbè±ç¥è(d:id:hyoshiok:20080926#p1)ã®ç¶ãã Windowsã®éçºç°å¢ã¯ç¥ããªãã®ã ãã©ãåã«ããã¨ç´ æµãªIDE(çµ±åéçºç°å¢)ãæ´åããã¦ãã¦ããã¦ã¹ã§ããããããã«ããå å®ãç°¡åç°¡åããããããããæ¯ã¹ãã¨ãGNU Emacs+gcc+gdbã¨ããã®ã¯å¾®å¦ã«ã¬ããæããµãããã¨ã¯è¨ããã®ã®ãããã°ã®ããã»ã¹ã¯IDEçãã«ãã¦ã£ã³ãã¦ãGUIã§ã°ãªã°ãªã§ãããã¨ãªãããã¨åºæ¬ã¯å¤ããªãã®ã§ãããã¨ãããã ã³ã³ãã¤ã«æã®ãªãã·ã§ã³ gccã®-gãªãã·ã§ã³ãä»ãããMakefileã®ã³ã³ãã¤ã«ãªãã·ã§ã³ã¯é常CFLAGSãªã®ã§CFLAGS=-gã¨ãã¦ãããæé©åãªãã·ã§ã³(-O)ã¨åæã«ä»ãããã¨ãã§ããã®ã§(ç´ æ´ãã)ãæé©åãªãã·ã§ã³ãé©å½ã«ä»ãã¦ããã æã ããããã°ãªãã·ã§ã³(-g)ãä»ããã¨ãã¯æé©åãªãã·ã§ã³ãã¤ããªãããããã¯-O0(ã¢ã«ãã¡ãã
gdbã®vimã¤ã³ã¿ã¼ãã§ã¤ã¹ã§ããvimgdbã®ã¤ã³ã¹ãã¼ã«ã¨è¨å®ã«ã¤ãã¦èª¬æãããemacsã®gdbã¢ã¼ããvim使ãã«ã¨ã£ã¦å¯ä¸emacsããããã¾ããç¹ã ã£ããããã解æ¶ããï¼(â´Ïï½â) ããã³ã° ./configure --enable-xxxã§vimã§ãµãã¼ãããæ©è½ãæå®ãããæå®ãªã¹ãã¯ãã«ãã®eval.txtãåç §ãã¾ã $ ./configure --with-XX > log 2>&1 ã¨ãããã¨ã§ãæå®ããæ©è½ã使ç¨ããã©ã¤ãã©ãªãªã©ãç¾å¨ã®ã·ã¹ãã ã«ã¤ã³ã¹ãã¼ã«ããã¦ãããã logãã¡ã¤ã«ã§ç¢ºèªã§ããã®ã§ãã³ã³ãã¤ã«ã«å¤±æããæãªã©ã«ç¢ºèªããã¨åå ããã°ããç¹å®ã§ããã Woody Debian dist-upgradeã®ç°å¢ã§ä½ããªãã·ã§ã³ãä»ããã«configureããã¨ä»¥ä¸ã®æ©è½ããµãã¼ããããç¶ æ ã§ã³ã³ãã¤ã«ãããã -arabic +aut
FreeBSDä¸ã§vimããããã°ããç°å¢ãæ´ãããã 以ä¸ãã«ã¬ã³ããã£ã¬ã¯ããªã¯vimã®srcãã£ã¬ã¯ããªã§ããã¨ãã¾ãã gdbã§ã¢ã¿ãã ã¾ãã¯ç´ æ´ã« $ gdb vimã¨ãã¦ã¿ããvimãç«ã¡ä¸ãããã端æ«ãvimã«å å± ãã㦠ãã¾ããgdbãæä½ã§ããªããªãã®ã§å½ç¶ãã¡ããã㧠$ gdb --args vim -gã¨gvimãèµ·åãã¦ã¿ããããã¨gvimã¦ã£ã³ãã¦ãç¾ããã®ã ã⦠(gdb) run Starting program: /usr/home/ao/dl/vim70/src2/vim -g Program exited normally. (gdb) ãªãã¨ããã»ã¹ããã§ã«æ£å¸¸çµäºãã¦ããã ã¾ã ã¦ã£ã³ãã¦ãç®ã®åã«åºã¦ããã®ã«ã GUIã¢ã¼ããèµ·åããã¨ãfork()ãã¦ããããã ãããã ã§ã¯ãããããgvimãèµ·åãã¦ãããgdbã§ã¢ã¿ãããããããªãã®ããª
http://cgdb.sourceforge.net/ curses ã使ã£ã gdb ã¤ã³ã¿ã¼ãã§ã¤ã¹ã vi ãã¼ãã¤ã³ã㧠gdb ãæä½ã§ãããããªãããæãã $ cgdb -- a.outã§èµ·åãä¸å´ã®ã¦ã£ã³ãã¦ãã½ã¼ã¹ã¦ã£ã³ãã¦(CGDB Mode)ãä¸å´ã GDB Window (GDB Mode)ã i 㨠Esc ã§2ã¤ã®ã¦ã£ã³ãã¦éãè¡ãæ¥ã§ããã ã½ã¼ã¹ã¦ã£ã³ãã¦ã§ä½¿ããã³ãã³ãã®ä¸é¨ï¼ Space ãã¬ã¼ã¯ãã¤ã³ãè¨å® j k ã«ã¼ã½ã«ç§»å / ? æ¤ç´¢ o ãã¡ã¤ã«é¸æã¦ã£ã³ãã¦ãéã T ãããã®ã¸ã®å ¥åãã¿ã¤ãããããã® TTY ã¦ã£ã³ãã¦ãéã i GDB ã¦ã£ã³ãã¦ã¸ s c n r step continue next run (:set shortcut ãã¦ããã¨ãã®ã¿æå¹) : ã³ãã³ã³ãã³ãã:set :run :q ãªã© è¨å®ãã¡ã¤ã«ã¯ ~
ã¯ãã㦠Clewn ã使ã£ã¦ã¿ãã http://clewn.sourceforge.net/index.html Clewn 㯠vim 㨠gdb ãçµ±åãããããã°ã©ã ã ãããã®å®ç¾æ段ã¯2éãããã 1ã¤ã¯åä½ã®ããã°ã©ã clewn ã使ãæ¹æ³ã ãã1ã¤ã¯ vimGdb ã¨ã㦠vim ã«å¯¾ãããããããã¦ãæ¹æ³ã 両è ã¯ã½ã¼ã¹ãå ±æããã»ã¨ãã©åãæ©è½ãæä¾ããããvimGdb 㯠gdb ã®å¼ãè©ä¾¡ããå¤ããããã¢ãã表示ã§ããªã ãããã®ã®åºåã gdb ã® tty ã³ãã³ãã§ä»ã®ç«¯æ«ã«æ¸¡ããã°ãªããªã ãããã°æ å ±ã¨ãã¦åãè¾¼ã¾ããã½ã¼ã¹ã³ã¼ãã®ãã¹ã vim ã«ç¥ããããã¨ãã§ããªã ãªã©ã®å¶éããã¤ã Clewn ã® pty.c 㯠screen ãããã£ã¦ããããããGPL ãªã®ã¯ãã®ããã ãããã ã§ããããvim ã® pty.c ã¨ãåããªãã ããªãã ã¨æ
gdb tips gdb ã使ãä¸ã§ä¾¿å©ãª tips ãç´¹ä»ãã¾ããåºæ¬çãªä½¿ãæ¹ããã¹ã¿ã¼ãã¦ãã人åãã§ãã .gdbinit ã®è¨å® ãã¼ã ãã£ã¬ã¯ããªã« .gdbinit ãç½®ãã¦ããã¨ãgdb ã®èµ·åã®éã«èªã¿è¾¼ã¾ãã¾ããç§ã®å ´åã¯æ¬¡ã®ãããªè¨å®ããã¦ãã¾ãã set history save on set history size 10000 set history filename ~/.gdb_history set print pretty on set print static-members off set charset ASCII set history ããå§ã¾ãæåã® 3è¡ã¯å±¥æ´ã«é¢ããè¨å®ã§ããããããã gdb ã®ã³ãã³ãã©ã¤ã³ã®å±¥æ´ããã¡ã¤ã«ã«ä¿åãããä¿åããè¡ã¯æ大 10000 è¡ããã¡ã¤ã«å㯠~/.gdb_history ãã¨ããæå³ã«ãªãã¾ãã
vim+gdbãå ¥ãã¦ã¿ããæ¿ãã便å©ã vimGdb install åèã«ããã®ã¯ã Wolf & Kiss - Vimgdb ã¤ã³ã¹ãã¼ã«ã¨ä½¿ç¨æ³ã A FreeBSD GIMPer vimGdbããããã .vimrcã®è¨å®ã æ £ããã®ã«ã¡ãã£ã¨æéãããããã©ãgdbãç«ã¡ä¸ããã¾ã¾ä½æ¥åºæ¥ãã®ã§ããã¡ãã ã¡ãªã¿ã«ãåã®ã³ã³ãã¤ã«ãªãã·ã§ã³ã¯ã % ./configure --prefix=$HOME/local/vim --with-features=big \ --enable-rubyinterp --enable-pythoninterp --enable-perlinterp --enable-mzschemeinterp \ --enable-multibyte --enable-gettext --enable-iconv --enable-langmap --e
ã¯ããã« ããã°ã©ã ã®ãããã°ã¨è¨ãã°ã²ãããprintfãæ¿å ¥ãã¾ãã£ã¦ããããæ¥ã ãããã¬ãªã便å©ãªä»£ç©ãããã¨ãããã¨ãç¥ã£ãããªãã§ãããã°ã©ã ãä¸è¡ ãã¤å®è¡ã§ãã¦ãå¤æ°ã®å¤ããã®å ´ã§ç¢ºèªã§ããããããããã¯æ¯é使ã£ã¦ã¿ãã°ã¨ æããUNIXç°å¢ã§ä½¿ããGDBã¨ãããããã¬ã試ãã¦ã¿ããããä½ããªãã ããã£ã±ã åãããªããWebãæ¤ç´¢ããã¨ããã¥ã¢ã«ã®æ¥æ¬èªè¨³ãè¦ã¤ãã£ããããã§åå¼·ãã㰠使ããããã«ãªããããã¨èªã¿å§ãããããããªãm4ãã©ãã®ããã®ã ã®ãæå³ä¸æ ã®æç« ãç¶ãâ¦ã ããã¯ç§ãGDBã使ãå§ããæã®è©±ã ããä¼¼ããããªçµé¨ãæã£ã¦ãã人ãä»ã«ããã ã¨æãã GDBã®ããã¥ã¢ã«ã¯åå¿è ã«ã¯ãããæ·å± ãé«ãã GDBã«éããããã¥ã¢ã«ã¨ãããã®ã¯åå¦è ãåèæ¸ã¨ãã¦ç¨ããã®ã«ã¯ é©ãã¦ããªããã¨ããã®ããããã¥ã¢ã«ã®é¡ã¯æ å ±éãå¤ãåãéè¦ãªé¨åã è¦ã¤ãåºã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}