View Issue Details

IDProjectCategoryView StatusLast Update
0000262XdebugStep Debuggingpublic2020-03-12 16:51
Reporterjun Assigned Toderick  
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.

Issue History

Date Modified Username Field Change
2007-05-01 05:57 jun New Issue
2007-05-01 11:24 derick Category Debug client (console) => Feature/Change request
2016-12-13 21:42 derick Status new => acknowledged
2016-12-13 21:42 derick Note Added: 0004060
2016-12-13 21:49 derick Note Added: 0004061
2016-12-13 21:49 derick Status acknowledged => resolved
2016-12-13 21:49 derick Resolution open => won't fix
2016-12-13 21:49 derick Assigned To => derick
2020-03-12 16:51 derick Category Feature/Change request => Step Debugging