erlide_eclipse icon indicating copy to clipboard operation
erlide_eclipse copied to clipboard

Debugger Stackframe doesn't go away

Open schlumpfling42 opened this issue 12 years ago • 4 comments

Hi,

I was playing around with Erlang and Erlide and I came across an issue with the debugger. When you resume an operation the stackframes don't go away. I fiddled around a little bit and found, that if you remove all the Stackframes, after resuming the debugger behaves, like I want it to. I have made a patch which I'm going to attach.

Regards, Rico

schlumpfling42 avatar Apr 28 '13 07:04 schlumpfling42

Thanks, I'll look at that. I am not sure that I understand what the problem is, but I think that I will understand by comparing the behaviour with and without your patch.

vladdu avatar Apr 28 '13 08:04 vladdu

Sorry for not explaining it better. If a start a function with a breakpoint, the debugger stops at the breakpoint: image If I press resume, the stackframe as shown in the picture before, stays where it was, even so the function is done. With my patch, the stackframe is gone.

Rico

schlumpfling42 avatar Apr 28 '13 14:04 schlumpfling42

Ah, I see. The thing is that when a process ends, one would sometimes want to keep the stacktrace around. What you are seeing is an artifact of that. Since we have users that rely on the current behaviour, we should add a preference so that people can choose whatever way feels best for them.

If you can submit a patch, it will help getting this implemented sooner. Thanks!

vladdu avatar Apr 28 '13 15:04 vladdu

Opened https://www.assembla.com/spaces/erlide/tickets/1302 to change the icon overlay so that it is clear which processes are dead and which are alive.

vladdu avatar Dec 02 '13 13:12 vladdu