View Issue Details

IDProjectCategoryView StatusLast Update
0000262XdebugStep Debuggingpublic2020-03-12 16:51
Reporterjun Assigned To 
PrioritynormalSeveritytrivialReproducibilityalways
Status resolvedResolutionwon't fix 
Summary0000262: Supporting break command with minimum overhead
Description

Currently Xdebug does not accept break command while
the language engine is running.

I guess that the main reason of it is performance.
Checking in-comming command on every statement execution
is too expensive. May be my guess is wrong.

So, how about checking in-comming (break) command every
100 (or 255, whatever) statements execution.

static unsigned char counter = 0;
if (++counter == 0)
{
/ check for incomming break/status command /
...
}

This way, performance down should not be so bad, and
at least I can break the target execution from debugger
client without restarting Apache ;-)

TagsNo tags attached.
Operating System
PHP Version5.1.6

Activities

derick

2016-12-13 21:42

administrator   ~0004060

I might want to implement this, but it's not high on my list of things to do.

derick

2016-12-13 21:49

administrator   ~0004061

Email bounced, so closing this.