Re: attaching debuggers

2003-09-19 Thread Michal Wallace
On Fri, 19 Sep 2003, Nicholas Clark wrote: [talking about dynamically intering the debugger] > > Can anyone see a sane way to do it? > > Better still, can anyone see a viable way to do it on perl5? Python does this. There's basically a hook after every statement, and you can put whatever you wan

Re: attaching debuggers

2003-09-19 Thread Nicholas Clark
On Fri, Sep 19, 2003 at 03:33:11PM -0400, Dan Sugalski wrote: > So, the sequence is: > > 1) Connect to the control socket > 2) Peg parrot with SIGUSR[12] > 3) Profit! > > No, wait, #3 isn't right... :) Thinking about it, I don't see why we need #2 either Assuming that we have the event system

Re: attaching debuggers

2003-09-19 Thread Dan Sugalski
On Fri, 19 Sep 2003, Nicholas Clark wrote: > It would be really useful to be able to attach the perl6 debugger to a > running parrot VM, and start debugging, without having the speed hit > up to that point of debugging. gdb and similar rely on kernel help to > do their attaching to regular running

attaching debuggers

2003-09-19 Thread Nicholas Clark
I was having a chat with [someone who doesn't like to be name checked] last night and he said that the perl debugger is often useless at solving problems. For a compiled language, one can attach gdb or similar to a running process after it's got itself into a state, whereas with perl one either has