NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
My Trace window is 2 lines off - help!


Joined: 29 Mar 2006
Posts: 57
Location: Sonoma County, CA USA
Reply with quote
Hi!

My trace window is displaying the code but its off a line or 3 from the actually executing line. Can you help me?

Thanks!
B
View user's profileFind all posts by bchertovSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
If you're running your script on remote server, make sure that remote copy is the same as local.

Also, some versions of PHP do not properly calculate line numbers in some cases, such as HEREDOC and Mac-style line endings (0x0D).
You can always check line number calculated by PHP using __LINE__ magic "constant" and compare it with actual line number. Should you find any mismatch, please report at bugs.php.net site.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
My Trace window is 2 lines off - help!
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