Playing behind the beat: PHPEd debug cursor on wrong line |
|
I have seen this too... but only when I edit the code after I start the debugger.
|
||||||||||||
|
|
That's a relief, I knew I didn't imagine it. I wasn't changing the code during debugging. I completely failed to reproduce it in a simple application. In the real application I was calling a method of an object that hadn't been created. When I fixed that, the cursor positioned itself correctly. I wrote a simple application with a similar bug, but that ran correctly in the debugger until it hit the bug, then it died. It seems that the bug in my code was necessary for the cursor to stray, but I'm puzzled that I can't make it do so in a short program. Alan. |
||||||||||||||
|
Site Admin
|
As far as I know there is no problem with debugger or PhpED.
If you're using HEREDOC, the following post is relevant to the problem: php-bugged-when-going-through-html-code-t1944.html If you are not using HEREDOCs, check if web server runs the same files as ones in the project. |
||||||||||||
|
|
Thanks, that seems to be the solution. I re-introduced the bug then put the HEREDOCS into a separate file, and the cursor now does what I would expect. Alan. |
||||||||||||||
|
Playing behind the beat: PHPEd debug cursor on wrong line |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by