VimDebug icon indicating copy to clipboard operation
VimDebug copied to clipboard

Support for $DB::single = 1

Open kablamo opened this issue 13 years ago • 0 comments

The Perl debugger can't set a breakpoint in a dynamically loaded library until after it has loaded. This means you can't simply place a breakpoint anywhere you like. You will need to use [https://metacpan.org/module/perldebug#Debugging-Compile-Time-Statements]('$DB::single = 1') statements in your code.

Thats not the end of the world I guess but its not intuitive for first time users. I should provide a VIM shortcut for inserting that line of code. I would be good to highlight that line as a breakpoint

kablamo avatar Sep 01 '12 15:09 kablamo