| Catalyst :: Manual :: Tutorial :: Debugging. Catalyst :: Manual :: Tutorial :: DebuggingÀº Ã˸ŠÀÀ¿ë ÇÁ·Î±×·¥ÀÇ ÁÖ¿ä ¿É¼ÇÀ» °£·«ÇÏ°Ôº¸°íÀÖ´Â Æ©Å丮¾óÀ» Æ÷ÇÔÇÕ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
Catalyst :: Manual :: Tutorial :: Debugging. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Kennedy Clark
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~mramberg/Catalyst-Runtime-5.7012/lib/Catalyst/Manual/Installation/CentOS4.pod
Catalyst :: Manual :: Tutorial :: Debugging. ű×
Catalyst :: Manual :: Tutorial :: Debugging. ¼³¸í
Catalyst :: Manual :: Tutorial :: DebuggingÀº Ã˸ŠÀÀ¿ë ÇÁ·Î±×·¥ÀÇ ÁÖ¿ä ¿É¼ÇÀ» °£´ÜÇÏ°Ôº¸°íÀÖ´Â Æ©Å丮¾óÀ» Æ÷ÇÔÇÕ´Ï´Ù. Catalyst :: Manual :: Tutorial :: DebuggingÀº Ã˸ŠÀÀ¿ë ÇÁ·Î±×·¥ ¹®Á¦ ÇØ°á¿¡ »ç¿ëÇÒ ¼öÀÖ´Â ±âº» ¿É¼ÇÀ» °£´ÜÇÏ°Ô »ìÆì º¸´Â ÀÚ½À¼°¡ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. µð¹ö±ë ¹× ¹®Á¦ ÇØ°á¿¡ °üÇؼ´Â µÎ °³ÀÇ Ä·ÇÁ°¡ ÀÖ½À´Ï´Ù. ¡¤ ·Î±× ¹× Àμâ Áø¼úÀÇ ÆÒÀÌ ÀÖ½À´Ï´Ù. Äڵ忡 ³»ÀåµÇ¾î ÀÖ½À´Ï´Ù. ¡¤ ´ëÈ Çü µð¹ö°ÅÀÇ ÆÒ .Catalyst´Â ÀÌÀü ±×·ìÀÇ µð¹ö±ëÀÇ ¸ðµç ½ºÅ¸ÀÏÀ» ½±°Ô ¼ö¿ë ÇÒ ¼ö ÀÖ½À´Ï´Ù. Ã˸ÅÀÇ $ C-> ·Î±× ½Ã¼³À» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. (ÀÚ¼¼ÇÑ ³»¿ëÀº Catalyst :: Log¸¦ ÂüÁ¶ÇϽʽÿÀ.) ¿¹¸¦ µé¾î, ´ÙÀ½ Äڵ带 ÄÁÆ®·Ñ·¯ Á¶Ä¡ ¹æ¹ý¿¡ Ãß°¡ÇÏ´Â °æ¿ì, $ C-> ·Î±× -> Á¤º¸ ( "foreach ·çÇÁ ½ÃÀÛ"); $ c-> log-> debug ( "$ idÀÇ °ªÀº :". $ id); atalyst °³¹ß ¼¹ö´Â ´Ù¸¥ µð¹ö±× Ãâ·Â°ú ÇÔ²² ¸Þ½ÃÁö¸¦ Ç¥½ÃÇÕ´Ï´Ù. ttsiteº¸±â¿¡¼ ¶È°°Àº °ÍÀ» ¼öÇàÇÏ·Á¸é ´ÙÀ½À» ¼öÇàÇÕ´Ï´Ù. Ã˸ŠÄÚµå ¸ðµÎ¿¡¼ µ¥ÀÌÅÍ :: Dumper¸¦ »ç¿ëÇÒ ¼öµµ ÀÖ½À´Ï´Ù (µ¥ÀÌÅÍ :: Dumper; $ »ç¿ë). c-> log-> debug ( "$ var :".dumper ($ var));))¿Í TT ÅÛÇø´ (. ¿ä±¸ »çÇ× : ¡¤ Perl.
Catalyst :: Manual :: Tutorial :: Debugging. °ü·Ã ¼ÒÇÁÆ®¿þ¾î