Thread View: pl.comp.lang.perl
2 messages
2 total messages
Started by Sharon Zohar
Thu, 21 Aug 1997 17:08
Debugging few modules .
Author: Sharon Zohar
Date: Thu, 21 Aug 1997 17:08
Date: Thu, 21 Aug 1997 17:08
6 lines
898 bytes
898 bytes
I need to debug a program that was developed in few separate modules . How can I use break points or step by step in modules that are not part of the main module . Thanks Sharon .
Re: Debugging few modules .
Author: Ilya Zakharevich
Date: Thu, 21 Aug 1997 18:53
Date: Thu, 21 Aug 1997 18:53
22 lines
1516 bytes
1516 bytes
In article <01bcae43$ebdb7040$1575de9e@sycon21.sycon-design.com>, Sharon Zohar <szohar@sycon-design.com> wrote: > I need to debug a program that was developed in few separate > modules . > How can I use break points or step by step in modules that are > not part of the main module . Please read what debugger says you. On start it advices to try `h h' or `h'. `h h' produces, in particular: f filename View source in file Btw, you do not *need* even this. If you need to set a breakpoint in module::func, just do it (and do not forget that if you have ReadLine working, command completion works). However, your question may be related to debugging initialization of `use'd modules. Then you need to read perldebug, it contains an answer, related to `R' command. Hope this helps, Ilya
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads