NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Debugger/Breakpoints does not work on empty lines


Joined: 06 Apr 2007
Posts: 48
Location: Gdansk, POLAND
Reply with quote
When I set a breakpoint on empty line (empty at all or a comment) it does not work - like there's no breakpoint at all.
Also, when I put the cursor into a such line - the "Jump to cursor" doesn't work (it jumps over cursor to next breakpoint).

example:

$someObject->shomething();

// some comments here
// you cannot breakpoint here, nor in both lines above
$someObject->somethingElse();
View user's profileFind all posts by NatanielSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Breakpoints make sense only when set on the lines that contain executable code. See blue dots on the gutter when debugger is started.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 06 Apr 2007
Posts: 48
Location: Gdansk, POLAND
Reply with quote
So it should jump to the next executable line. Currently you can set a breakpoint which doesn't work - it's counter-intuitive.
View user's profileFind all posts by NatanielSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
when you set the breakpoint, IDE does not know if corresponding line contains any executable code or not. Debugger does not know it too, until file is included via require() or include() and compiled.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] Debugger/Breakpoints does not work on empty lines
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic