NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Immediately jump 2 red point and not 1st line in index.php


Joined: 05 May 2008
Posts: 36
Reply with quote
How can i setup such behavior?
Because: i have 10 AJAX calls to index.php, but only one goes to include script2debug.php
I place red point in script2debug.php and want to see debugger only if it reaches this place.
This works good with DebugBreak(); but not with red point.


2nd Question: DebugBreak(); stopps script nice if i run it in browser (not a debug run), but red point does not.
What setting can make red point acts like DebugBreak();?

_________________
RU
View user's profileFind all posts by VodochnikSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
DebugBreak() is a kind of hardcoded breakpoints. It can start debug session if it's not started.
With regular breakpoints, they can never start debug session because they EXIST in the session and nowhere else.
In other words, if you start your script without debugger all the regular breakpoints won't trigger.

As of #1, you may want to turn off Stop on the 1st Line After Run in the debugger settings.

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


Joined: 05 May 2008
Posts: 36
Reply with quote
Thanks, it works Smile

And thanks for fixed bug with code autocompletion ( cursor is now correctly placed between () by indented code too) Smile

Regards
Vod

_________________
RU
View user's profileFind all posts by VodochnikSend private messageICQ Number
Immediately jump 2 red point and not 1st line in index.php
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