MantisBT - Xdebug
View Issue Details
0001389XdebugFeature/Change requestpublic2017-01-11 17:442018-12-18 11:13
LanaZem 
 
normalminorhave not tried
confirmedopen 
 
3.0.0dev 
7.1.0-7.1.4
0001389: Support 'breakpoint_resolved' notification
https://github.com/derickr/dbgp/pull/11/files [^]

It's not always possible to resolve breakpoint. It would be much more convenient not only show breakpoint as invalid but also resolve it to the correct line.
It will save users a lot of time because they won't need to search for it manually.
1) Create a file with the following code
'
<?php

$a = array( // line #1
    1 => "first", // line 0000002
    2 => "second",
);
'

2) Set breakpoint only on line #1
3) Start debugger session

Expected:
Breakpoint #1 is resolved to line #1 and execution halts there.

Actual:
Execution doesn't halt.
Corresponding PhpStorm issues:
https://youtrack.jetbrains.com/issue/WI-4721 [^]
https://youtrack.jetbrains.com/issue/WI-2191 [^]
https://youtrack.jetbrains.com/issue/WI-2898 [^]
https://youtrack.jetbrains.com/issue/WI-6916 [^]
No tags attached.
Issue History
2017-01-11 17:44LanaZemNew Issue
2017-01-14 11:28derickStatusnew => confirmed
2017-01-14 11:28derickTarget Version => 2.6.0dev
2017-11-18 14:14derickTarget Version2.6.0dev => 2.7.0dev
2018-12-18 11:13derickNote Added: 0004775
2018-12-18 11:13derickTarget Version2.7.0dev => 3.0.0dev

Notes
(0004775)
derick   
2018-12-18 11:13   
Punting this to 3.0, as 2.7 needs to come out soon with PHP 7.3 support.