Twitterä¸ã§ã@alohakun ãè¨åãã¦ãã GDB ã® reverse debugging ã®æ©è½ã使ã£ã¦ã¿ã¾ããã GDB ã«ãã¬ã¼ã¹ã¨éå®è¡æ©è½å ¥ã£ãã®ãã http://www.gnu.org/software/gdb/news/reversible.html http://twitter.com/alohakun/status/4481139191 ã¾ãã¯ç°¡åãªä½¿ãæ¹ã説æãããã¨ã«ãã¤ã³ã¹ãã¼ã«æ¹æ³ã説æãã¾ãã ãããªã¨ãã«ä¾¿å© ãå¤ãªãã¨ããèµ·ãã¦ãã大ä½ã®å ´æãããã£ã¦ããã¨ã ãããã°ä¸ã«ã大ä½ã©ãã§å¤ãªãã¨ãèµ·ãã¦ãããã¯ããã£ã¦ãããã©ãç´°ããå ´æã¯ç¹å®ã§ãã¦ããªãã¨ããreverse debuggingãå¹æãçºæ®ãã¾ãã GDBã§ã¹ãããå®è¡ããã¦ãã¦ãããã¾ã£ã!è¡ãããã!ãã¨ããçµé¨ã¯ããããã¨æãã¾ããããããã¨ããä»ã¾ã§ã¯ããã°ã©ã ã®å®è¡ãæ
Firebugã¯æãããããã便å©ãªFirefoxã¢ããªã³ã ãä¸æã¯Firefoxã®éãããSafariã¸ã®ä¹ãæããæ¤è¨ãããããã®Firebugã®ããã«èãæ»ã£ã¦ãã¾ã£ãã ãããªä¾¿å©ãªFirebugã§ããããä»ã®ãã©ã¦ã¶åãã«ã¯Firebug Liteã¨ããJavaScriptãæä¾ããã¦ããããããããã¯JavaScriptãã¡ã¤ã«ãªã®ã§ãã©ããã®ãµã¼ãã«ç½®ãã¦ããå¿ è¦ãããããã®é¢åãã解æ¶ããã®ãããã ã ä»åç´¹ä»ããããªã¼ã¦ã§ã¢ã¯FireBug Lite ++ãIE7Proã§ä½¿ããFirebugã ãã½ã¼ã¹ã¯å ¬éããã¦ããããã©ã¤ã»ã³ã¹ã¯æè¨ããã¦ããªãã®ã§ã注æããã ãããã FireBug Lite ++ã¯IE7Proåãã®ã¦ã¼ã¶ã¹ã¯ãªããã§ãIE7ã«Firebug Liteã®æ©è½ãåãè¾¼ãäºãã§ãããããã§ããã°ããã¼ã«ã«ã®éçºæã«ã使ãããã ã æ©è½ã¯ãã¾ãå¤ãã¯ãªãã
Perl ã§ã® print debug ã®æ¹æ³ã®ç´¹ä»ããã¼ã (?)ã ã£ãã®ã§ãèªåãããè¡ã£ã¦ã Ruby ã§ã® debug æ¹æ³7ã¤ã«ã¤ãã¦æ¸ãã¦ã¿ã¾ãã p ãåãã®äººãå¤ã Kernel#p ã¡ã½ãããããã使ãã¨ãªãã¸ã§ã¯ãã®å 容ãè¦ãããå½¢ã§åºåãã¦ããã¾ãã >> p ({:foobar => :baz}) {:foobar=>:baz}Object#inspect ã使ãã¨ãp ã§åºåããã¨ãã¨åãæååã String ã¨ãã¦åå¾ã§ãã¾ãã >> puts ({:foobar => :baz}).inspect {:foobar=>:baz}åå¿è ã®é ãã® p ã§ã®åºåã使ãæ¹æ³ãããããªãã¦å°ã£ãè¨æ¶ãâ¦ã pp pp ã¨ããã©ã¤ãã©ãªã使ãã¨ãp ãããããè¦ãããå½¢å¼ã§åºåãã¦ããã¾ãããã¨ãã° >> a = Array.new(10) { {:foobar => :
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}