Restrict debugger workaround to when DB::sub will be used
authorGraham Knop <haarg@haarg.org>
Wed, 7 Oct 2015 22:49:34 +0000 (18:49 -0400)
committerPeter Rabbitson <ribasushi@cpan.org>
Sun, 10 Apr 2016 02:03:25 +0000 (04:03 +0200)
commitaea0cfbed3dc89b308020e9ab4ae93b00579a52b
tree003f50dc48af537f49e0e9b8d62eecf1e4d05ad3
parent39bc2d6e65e2e1898be6219299f2e8a09e7a7b1c
Restrict debugger workaround to when DB::sub will be used

The issues with the debugger only arise when DB::sub will be called.
Since the workaround requires XS modules, avoid it unless actually
needed.  This avoids XS prereqs when using modules like Devel::Confess
that use debugger features but don't require the workaround.
Changes
lib/namespace/clean.pm
t/07-pseudo-debugger.t [new file with mode: 0644]
t/10-pure-perl.t
t/lib/Devel/_NC_TEST_DashD.pm [new file with mode: 0644]