NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] Debug stops on wrong line


Joined: 15 Jun 2005
Posts: 46
Reply with quote
Using PHPEd version: 4.5.1 4522

There is still a problem in debugging. Sometimes (it's very difficult to reproduce) the debugger is stopping on the right breakpoint set, but showing the wrong script.
The script which should be showed is open in the editor. Switching to the right script in such case and pressing F7 for the next step returns the cursor to the wrong script.

Only closing and re-opening the PHPEditor seems to help.

Regards, Scub
View user's profileFind all posts by ScubaticusSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Could you please send me screenshots as soon as you get this problem again?
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Sep 2003
Posts: 19
Reply with quote
I've seen this happen when my remote and local scripts are out of sync. I noticed that if I make a change to a local file and then re-run the debugger without re-uploading the file, the debugger will highlight the wrong lines as you step through the code. When this happens I simply stop the debug session, save the file to the remote server and restart the debug session and it fixes it. Perhaps that sheds some light on your problem?
View user's profileFind all posts by minorgodSend private message
[resolved] Debug stops on wrong line
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