View Issue Details

IDProjectCategoryView StatusLast Update
0000200XdebugStep Debuggingpublic2020-03-12 17:19
Reporterbhofmann Assigned To 
Status closedResolutionopen 
Summary0000200: Add the retrieval of a file's execution lines in DBGp

It would be great if the DBGp protocol offered to get a list of line numbers containing executable code for a given script, allowing an IDE to display a visual mark on those line to show were breakpoints can be set for example.

TagsNo tags attached.
Operating System
PHP Version5.1.2


has duplicate 0000263 resolvedderick Warning for setting breakpoint on no-code lines 



2007-07-31 22:45

administrator   ~0000711

I added a new un-official method called xcmd_get_executable_lines which requires the stack depth as argument (-d). You can only fetch this information for stack frames as it needs an available op-array which is only available when a function is executed.

warning: this function name might change in the future in case it gets added to the official DBGp specification.

Issue History

Date Modified Username Field Change
2006-09-22 10:34 bhofmann New Issue
2007-07-31 22:11 derick Relationship added has duplicate 0000263
2007-07-31 22:45 derick Status new => closed
2007-07-31 22:45 derick Note Added: 0000711
2020-03-12 16:55 derick Severity trivial => feature
2020-03-12 17:19 derick Category Feature/Change request => Step Debugging