gdb.Command.__init__ (self, "test_events", gdb.COMMAND_STACK)
ã²ããã Vim ã§ã³ã¼ããªã¼ãã£ã³ã°ã«ç²ãã¦ããã®ã§ CGDB ãå°å ¥. Homebrew ã«ãã£ãã®ã§ããã§ãã. $ brew install cgdb Warning: It appears you have MacPorts or Fink installed. Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again. ==> Downloading http://downloads.sourceforge.net/project/cgdb/cgdb/cgdb-0.6.5/cgdb-0.6.5.tar.gz ################
ããã¾ã§UML(User Mode Linux)ã§ã«ã¼ãã«ãããã°ã§ããç°å¢ã使ã£ã¦ãã«ã¼ãã«ã®è§£æçãè¡ã£ã¦ãããUMLã®ç°å¢ã¯ãVMWare Serverä¸ã®Ubuntu 8.0.4ã«æ§ç¯ãã¦ããããæè¿ãèµ·åããªã£ã¦ãã¾ã£ããããã¾ã§KVM(Kernel-based Virtual Machine)ã«èå³ããã£ããã®ã®ãæå ã«ã¯Intel VT対å¿CPUãç¡ãããã£ã¨è©¦ããªãç¶æ³ã ã£ããããã§ãIntel VT対å¿ã®ãã·ã³ãæ°ãã«è³¼å ¥ãããã®ãã·ã³ã«Linuxã«ã¼ãã«éçºç°å¢ãä½ããã¨ã«ããã ä½è«: è³¼å ¥ãããã·ã³ã«ã¤ãã¦ è³¼å ¥ãããã·ã³ã¹ããã¯ã¯ã以ä¸ã®éãão'zzioã®XRã·ãªã¼ãºãhttp://www.ozzio.jp/html/ozzio_xr_specs.htm ãã®ãã·ã³ã«Ubuntu 10.10ãã¤ã³ã¹ãã¼ã«ããã CPU: Intel Core i7 870 (8
ã¯ããã« ä»åã¯ãUML+GDBã§Btrfsããããã°ã§ããããã«ãã¦ã¿ããéä¸ã§å¤±æãã¦å¤å°é åãã«ãªã£ãããã©ãããããã°ã¯ã§ããããã«ãªã£ãããªããUbuntu 10.10ã§ã®UMLã®éçºç°å¢ãã¾ã æ´åã§ãã¦ããªãã®ã§ãããã¾ã§ä½¿ã£ã¦ããUbuntu 8.04ã®UMLã®ç°å¢ã使ããã¨ã«ããã æºå Btrfsã¯ãã«ã¼ãã«ãã«ãæã«make defconfigããã ãã ã¨ãããã©ã«ãã§ã¯çµã¿è¾¼ã¾ããªããããã§ãmake menuconfigããBtrfsãçµã¿è¾¼ãããã«ãããFile systems -> Btrfs filesystem (EXPERIMENTAL) Unstable disk format ãé¸æãããMã ã¨ã«ã¼ãã«ã¢ã¸ã¥ã¼ã«ã«ãªã£ã¦é¢åãªã®ã§ã*ãé¸æããã«ã¼ãã«ã«å®å ¨ã«çµã¿è¾¼ãã§ãã¾ããã¨ã«ããã ããã§ããã«ãããlinuxã«btrfs_*ãªé¢æ°ã«ãã¬ã¼ã¯ãã¤
ã¯ããã« ã¯ã¦ãªãã¤ã¢ãªã¼ã®ã¹ã¼ãã¼preè¨æ³(ããã°æ¬æã«ã½ã¼ã¹ã³ã¼ãçãè²¼ãä»ããããã®è¨æ³)ã§å§ã¾ãããã¹ããã¯ãªãããã¼ãã«å ¥ã£ãç¶æ ã§ãééã£ã¦ãgdbã®ã·ã§ã«ã«è²¼ãä»ãã¦ãã¾ã£ãããããããè¦ããã¨ã®ç¡ãç»é¢ãåºç¾ãããã¯ä¾¿å©ãããã Linuxã«ã¼ãã«ã®ã³ã¼ããèªãã®ã«æ¬ ãããªãæã«ãªãã¤ã¤ããã®ã§ãã¡ã¢ã¨ãã¦æ®ãã¦ãããã 使ãæ¹ ãã¡ããã¡ãç°¡åãã>ããå ¥åããã ãã (gdb) >ããã¯ãã¬ã¼ã¹ãåããç¶æ ã§ããã¬ã¼ã ãé¸æãã¦ãã>ããå ¥åããã¨ããã®ãã¬ã¼ã å¨è¾ºã®ã³ã¼ããè¦ãããã®ãã¥ã¼ã¢ã¼ãgdbå ã«ç«ã¡ä¸ããããã¥ã¼ã¢ãè¯ãè¦ãã¨ãå·¦ä¸ã«ãé²è¦§ä¸ã®ãã¡ã¤ã«ã®ãã¹ã左端ã«è¡çªå·ã表示ããã¦ããã ââãã¼ã§ã³ã¼ãã移åã§ãããã¡ãã£ã¨åå¾ã®ã³ã¼ãã確èªãããæã«éå®ããã(gdb)ã®ã³ãã³ãå±¥æ´ãé¡ãããå ´åã¯Ctrl+Pããã®éã¯ãCtrl+NãEmacsã¨å
RubyAdventJP, GC, Rubyï¼ãã®è¨äºã¯Ruby Advent Calendar jp: 2009 : ATNDã®4æ¥ç®ã§ããåæ¥ã¯mrknããã§ããï¼ãå¥å ¨ãªãRubyistã§ããã°ãRubyã®GCãããããã¨ãé±ã«ä¸åº¦ã¯ããã§ãããããã®ã¨ãã«å°ãã®ããGCãããã£ã¦ãã¾ã£ããã¨ã«ãããã°ã®ä¿®æ£ã§ããGCããããã¨ããã®ã¯æ³å以ä¸ã«é£ãããå°ãã§ãæ¸ãééããã¨ã¡ã¢ãªç ´å£ãçºçãã¾ãããã®ã¨ãã«ä½¿ããTipsããã®è¨äºã§æ¸ããã¨ã«ãã¾ãããã¿ãªãããåãã®éããã¡ã¢ãªç ´å£ã¨ããã®ã¯åå ãç¹å®ããã®ãå°é£ã§ããããã¯åé¡ãçºè¦ããå ´æã¨ã¡ã¢ãªç ´å£ãèµ·ãã£ãç¾å ´ãä½ç½®çã«é ããã¨ã«èµ·å ãã¦ãã¾ããå大ãªãããã«ã¼ã®ã¾ã¤ãã¨ããã§ããããã®çºè¦ã¯å°é£ã§ããã[ruby-dev:38628] Re: [BUG: trunk] called on terminated objec
Emacs + GDB ãå©ç¨ããããªãã°ãä½ããã GNU Emacs Manual: Debuggersï¼è±èªï¼ ãèªããã¨ãå¼·ããããããã¾ãã å訳ãåå¨ãã¾ããå 容ãå¤ãããã¦ã¹ãå©ç¨ããæä½ãã°ã©ãã£ã«ã«ãªæ©è½ã«ã¤ãã¦ã®è¨è¿°ãããã¾ããã§ããã ããã¥ã¢ã«ãèªãã§ç解ãããã¨ã¯å®è·µã§è¦ãã¦ããããã§ããã以ä¸ã«ã¾ã¨ãããã¼ãã·ã¼ããå©ç¨ããã°æéãç¯ç´ã§ããããããã¾ããã ããã便å©ãªæ©è½ã«é¢ãã¦æ¼ããããã°æ¯éæãã¦ãã ããã .emacs ;;; GDB é¢é£ ;;; æç¨ãªãããã¡ãéãã¢ã¼ã (setq gdb-many-windows t) ;;; å¤æ°ã®ä¸ã«ãã¦ã¹ã«ã¼ã½ã«ãç½®ãã¨å¤ã表示 (add-hook 'gdb-mode-hook '(lambda () (gud-tooltip-mode t))) ;;; I/O ãããã¡ã表示 (setq gdb-use
[ ããããããé¢é£ãããããããªããã¼ã¸ ] _ ã¤ã³ãããã¯ã·ã§ã³ Emacs 㧠GDB ã ãã£ã¨ä¾¿å©ã«ä½¿ããã å ãã¿ã¯NetBSD Meeting 19th (æ ª)çµ¹ è¤åããã®çºè¡¨ããã http://www.ki.nu/~makoto/e/emacs-gdb.pdf _ å¿ è¦ãªãã® Emacs 22 _ Emacs 22 ã®ã¤ã³ã¹ãã¼ã«æ¹æ³ CVS ã¬ãã¸ããªããã½ã¼ã¹ãåå¾ãã¦ãã³ã³ãã¤ã«ãè¡ãã % setenv CVS_RSH ssh (å㯠export CVS_RSH=ssh) % cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs login % cvs -d:pserver:anonymous@cvs.sv.gnu.org:/sources/emacs co emacs % cd emacs % ./c
In emacs, you can start debugging your application with M-x gdb. If you come from a Eclipse/Visual Studio-background, you may find the experience somewhat spartan -- and the Spartans are known for many things, but debugging is not one of them. Still, I have debugged that way for years, until I only recently (really!) discovered gdb-many-windows. It's simple; start gdb inside emacs as you'd do norm
å æ¥ã®Shibuya.pm #9ã®Lightening Talkã§ãgdbã§XS on mod_perlããããã°ãã¨ãã話ããã¦ãã¾ãããXSã使ãåºãã¨ãå¾æ¥ã®Perlçãããã°ã ãã§ã¯ä¸ååãªã®ã§gdbããã¾ã使ã£ã¦ãå¹ççã«ãããã°ãã¾ããããã¨ãã話ã§ããå®ã¯ãã¯ã¦ãªç¤¾å ã§ã¯1å¹´è¿ãåã«åå¼·ã§è©±ãããã¿ã ã£ãã®ã§ãããããããå ¬éãããã¨ãã§ãã¾ããã Shibuya.pmã§ã¯5åã¨ããæ ããã£ãã®ã§ã·ã§ã¼ãver.ã§ããããããã§ã¯å¶éã¯ãªãã®ã§ãæ¬æ¥ã®ãã³ã°ãã¼ã¸ã§ã³ã®è³æãã¢ãããã¾ããã¡ãã£ã¨å ¬éã§ããªãæ å ±ãæ··ã£ã¦ããã®ã§ãxxxã§é ãã¦ãã¾ããããäºæ¿ãã ããã ã¡ãªã¿ã«ãRubyã¨ãã§ãä¼¼ãæãã§ãããã°ã§ããã¨æãã®ã§ããã¡ãã®äººãåèã«ãã¦ãã ãããé·ãã!ã¨ãã人ã¯ãæå¾ã®ãããã¯è¨å®ãã¦ããçgdbåæåãã¯ããã ãã§ãã©ãããããªã便å©ã§ãã (è³æå ¬éã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}