NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debug stops on mystery lines which previously had breakpoint


Joined: 29 May 2007
Posts: 10
Reply with quote
Each time I run the debugger it stops on lines that do not have breakpoints. However, these same lines did have breakpoints at some point in the past, so it seems there is a 'ghost' breakpoint still hanging around. Any config file that I might edit to dig into this?
Thanks.
View user's profileFind all posts by mlefkonSend private message


Joined: 29 May 2007
Posts: 10
Reply with quote
Problem solved...
First I closed the IDE. Then I went into the file in the root of my development directory named 'NuSphereWorkspace.dsk'. In there I deleted the 'ghost' breakpoint in question under the "[breakpoints]" section, renumbered the other breakpoints and adjusted the value of "bp_count=X". Now the debugger runs smoothly and doesn't stop unexpectedly anymore.
View user's profileFind all posts by mlefkonSend private message
Guru master

Joined: 24 Jul 2009
Posts: 737
Reply with quote
I regularly get this problem. It seems to happen if I remove a breakpoint in an active debug session then either accidentally start a new debug session or the page happens to start a new session in the background (eg AJAX).

I then end up with a code line with no breakpoint marker but it still gets breakpoints. However, the breakpoint does still show in the Breakpoints window, so when the breakpoint next gets hit, I can go to the Breakpoints window, identify it by filename/line number, delete it and problem gone.

I didn't find any need to exit the IDE or edit the project files directly. Wink
View user's profileFind all posts by plugnplaySend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
This shouldn't happen in 6.2.
(if it does, please contact support)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Debug stops on mystery lines which previously had breakpoint
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