NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Clickable PHP error reports


Joined: 03 Aug 2009
Posts: 9
Reply with quote
Whenever an exception occurs PHP outputs the file+line number, which caused the error:

Fatal error: Uncaught exception 'Exception' with message 'Value must be 1 or below' in C:\webfolder\test.php:6
Stack trace: #0 C:\webfolder\test.php(12): checkNum(2Cool #1 {main} thrown in C:\webfolder\test.php on line 6

What about register phped as an url protocol and by clicking on the filename (C:\webfolder\test.php:6) the system would bring up PhpEd, load the file and jump to the given line.
View user's profileFind all posts by dfltSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7875
Reply with quote
if you break into debugger, you'll see the call-stack in Call Stack window, it's where you can click and check what caused the error

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Clickable PHP error reports
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