NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Are Notices available with Instant Error Analysis?


Joined: 03 Dec 2006
Posts: 26
Reply with quote
If not, imo they should be. To write clean code and increase efficiency, you need to get rid of all the Warning and Notices. I have tried everything I can think of and I can't get them to show in the log. Any help or guidance?
View user's profileFind all posts by RavenSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Some notices are produced by php at compile time, some during run-time.
For example if you call a script with variable A in the URL, and access by mistake to $_GET['B'], there is no tool that would show you the error without running script.
All compile-time notices, warnings and error are recognized by validator and are shown inline in the code and in the log (if run from the menu).

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Dec 2006
Posts: 26
Reply with quote
dmitri wrote:
Some notices are produced by php at compile time, some during run-time.
For example if you call a script with variable A in the URL, and access by mistake to $_GET['B'], there is no tool that would show you the error without running script.
All compile-time notices, warnings and error are recognized by validator and are shown inline in the code and in the log (if run from the menu).


These are runtime Notices and warnings I'm referring to. I get the warnings and errors but cannot produce Notices, no matter what I try. Thanks.
View user's profileFind all posts by RavenSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
These are runtime Notices and warnings I'm referring to

To see notices during debug session, you may want to adjust error level to #4 in the debugger settings.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 03 Dec 2006
Posts: 26
Reply with quote
dmitri wrote:
Quote:
These are runtime Notices and warnings I'm referring to

To see notices during debug session, you may want to adjust error level to #4 in the debugger settings.

Thank you SO much!. BTW, where in the documentation did I miss this?
View user's profileFind all posts by RavenSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
mk:@MSITStore:D:\nusphere46\bin\help\PHPEd.chm::/html/debugger_tab.htm

Error level specifies what type of errors should be shown as popup warnings. All the errors are shown in the Error tab anyway.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Are Notices available with Instant Error Analysis?
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