NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[fixed] Setting error level to none not working in 4.6


Joined: 13 Jun 2006
Posts: 17
Reply with quote
For the debugger settings in phped professional 4.6 I have set the error level to "0 - none" and yet I still get popup messages with E_WARNING.
This option worked with the same code in version 4.5.1
Bug in the new version?

Thanks.

_________________
MB
View user's profileFind all posts by mbrinsonSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Thanks for the report.
There were a few omissions in 4610 build, so we decided to replace it with 4611 shortly.
For example, many people found it comfortable to use Ctrl+Shift+S as a shortcut for file upload function. In 4510 is inserts <span> html tag. We restored the old shortcut and added Ctrl-Shift-P for <span>.
Regarding your report, it's fixed too.


Last edited by dmitri on Wed Aug 15, 2007 6:31 am; edited 1 time in total
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Guru master

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
Sorry for the necroposting and so on, but in 5.0.1 build 5029 I am still experiencing the same problem... with Error Level set to 0 or to 1 the debugger still breaks on E_WARNINGS with a dialog you have to Ok'ay away... anyway to fix this as it's a bit annoying?
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I don't see any problems with error level in 5029.
Our QA tried the following code:

Code:
<?php
  fopen('somebogusfilename');


This certainly triggers E_WARNING and shows the error box when errror level is 3 or higher and silenly proceeds if error level is 2 or lower.
Do you run debug session from the IDE by clicking Run In Debugger (F9) or somehow else?

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

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
The breakpoint is triggered by loading a page in the browser from my active project in PhpED, not by manually starting a session.

FYI:
[/img]


Last edited by Blizz on Wed Aug 15, 2007 6:56 am; edited 1 time in total
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
I'm not sure I got it.
What do you mean under "by loading a page... from my active project in PhpED, not manually..."?

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

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
dmitri wrote:
What do you mean under "by loading a page... from my active project in PhpED, not manually..."?


I just open the test.php file (as shown in the screenshot I just added) in my browser.
PhpEd is started and it has the project containing that file loaded.
The editor starts a debug session on it's own, breaking at the "offending statement".
View user's profileFind all posts by BlizzSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
The editor starts a debug session on it's own

Do you have JIT debugging enabled? Why?
If you enabled JIT why do you claim that it works fine? Smile

In case of JIT, IDE has no control on when the debugger should start its session. You have to update error level in the debugger settings in php.ini. See phpinfo output for current settings. I think you have level 3.

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

Joined: 05 Jul 2004
Posts: 659
Location: Belgium
Reply with quote
I see, my apologies. I had no idea this was a different setting.
I just checked and it is indeed set to 3. Assuming that the values are identical to the ones specified in the editor I have changed it to 1 which solved the issue.
It's so easy to solve things when you know where to look Smile
View user's profileFind all posts by BlizzSend private messageVisit poster's website
[fixed] Setting error level to none not working in 4.6
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