This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DEBUGGING PERL available

Igor Pechtchanski wrote:

You can also set it in cygwin.bat, right before invoking bash.
As for the embedded "=", you should be able to use ":" instead, i.e.,
"set CYGWIN=error_start:c:\cygwin\bin\gdb".

I am awfully sorry if I still do not get it, but this does not seem to work - the debugger does not kick in. (the variable is inherited correctly in the bash from cygwin.bat)

I have tried a different approach - I tried to attach the debugger
to the running perl process - after the Windows-error dialog is
closed, i do a bt. This is what I get:

#0 0xbff768a1 in KERNEL32!CallNamedPipeW ()
#1 0xbff7a280 in KERNEL32!Heap32ListNext ()
#2 0xbff7c768 in RegisterServiceProcess ()
#3 0xbff7c7c2 in RegisterServiceProcess ()
#4 0x61078487 in siginterrupt () from /usr/bin/cygwin1.dll
#5 0x61038a80 in fnmatch () from /usr/bin/cygwin1.dll
#6 0x61039e93 in fnmatch () from /usr/bin/cygwin1.dll
#7 0x6103a4cd in fork () from /usr/bin/cygwin1.dll
#8 0x10060275 in Perl_my_popen (my_perl=0x102503e8, cmd=0x102668a8 "uname", mod
e=0x100a9060 "r") at util.c:2098
#9 0x100a919f in Perl_pp_backtick (my_perl=0x102503e8) at pp_sys.c:310
#10 0x1005c0fe in Perl_runops_debug (my_perl=0x102503e8) at dump.c:1398
#11 0x1000478b in S_run_body (my_perl=0x102503e8, oldscope=1) at perl.c:1681
#12 0x100043c5 in perl_run (my_perl=0x102503e8) at perl.c:1600
#13 0x0040113d in main (argc=2, argv=0x615f1e60, env=0x10250328) at perlmain.c:8

Hope this helps.


-- Unsubscribe info: Bug reporting: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]