NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
conditional breakpoints
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
is there any way to set conditional breakpoints?

eg: stops at breakpoint 1 when $a == 3 or when the hits to that breakpoint have reached a certain value
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
See "Conditions" column in the Breakpoints tab. Select appropriate cell in the grid, press F2 and enter the condition. Such expressions (if entered) are evaluated each time when their breakpoints are hit and if return TRUE (in terms of PHP), breakpoints trigger.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
perfect, it works!
View user's profileFind all posts by blackSend private message
conditional breakpoints
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