Skip to content

Instantly share code, notes, and snippets.

@rocky
Last active October 1, 2015 16:48
Show Gist options
  • Save rocky/2026252 to your computer and use it in GitHub Desktop.
Save rocky/2026252 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use Enbugger;
eval <<'EOE';
sub five()
{
Enbugger->stop; # Does not stop
my $x = 1;
return 5;
}
EOE
Enbugger->load_debugger('perl5db'); # Enbugger->load_debugger('trepan') works though
print "five is ", five, "\n";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment