On Sat, Mar 11, 2000 at 02:40:22PM -0500, Larry Moore wrote: > BTW. is there a way of setting BBEdit to detect the -d switch and > automatically push MacPerl to the front for debugging sessions? If that's > not available, is there a way of adding it to a later release?) The > references in the delta manual for debug all refered to Metrowerks debugger. I've had problems invoking the debugger in MacPerl with -d, rather than using the Perl Debugger menu item. For example: --- Script: #!perl -d for (0..1) { print "$_\n"; } print "foo\n"; --- --- Perl Debug: Loading DB routines from perl5db.pl version 1 Emacs support available. Enter h or `h h' for help. main::(Jay:Desktop Folder:Foo:4): DB<1> l DB<1> l DB<1> s main::(Jay:Desktop Folder:Foo:5): DB<1> l DB<1> w DB<1> s main::(Jay:Desktop Folder:Foo:5): DB<1> s main::(Jay:Desktop Folder:Foo:8): DB<1> s DB::fake::(Jay:Applications:MacPerl D:lib:perl5db.pl:2061): 2061: "Debugged program terminated. Use `q' to quit or `R' to restart."; DB<1> l 2061==> "Debugged program terminated. Use `q' to quit or `R' to restart."; 2062 } 2063 2064 package DB; # Do not trace this 1; below! DB<1> --- --- MacPerl Output: 0 1 foo --- Where did the listing for my script go? Beats me. At least I got the correct output. I've also had MacPerl crash when using -d. So, I always use the Perl Debugger menu item instead. Ronald # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org