in reply to Using debugger breakpoints in Test::Class code
At work we have a key-binding in our editor that drops these two lines at the cursor:
When debugging code, we'll generally drop the $MY::var = 1 line into some test block, and stick the $DB::single line into whatever method we're debugging. Works fine.local $MY::var = 1; # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX $DB::single = 1 if $MY::var; # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using debugger breakpoints in Test::Class code
by secondturtle (Initiate) on Nov 14, 2008 at 17:00 UTC |