NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Breaking in a method?
Veteran

Joined: 16 Aug 2003
Posts: 101
Location: Montreal, Canada
Reply with quote
Hello,

given

Code:

echo "hello"
. sayHello()
. sayHi();


It would be pretty cool to be able to select to break on sayHello() or sayHi() independently.

I guess this is not easy to do, since as far as dbg, it's all one line?
View user's profileFind all posts by mhSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
dbg has very little to do with such constructs.
You may set breakpoints in respective functions or step through them sequentially. First with F7 you get in the fist function, they by pressing Step-out you leave it and by the next F7 you get into the second one.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Breaking in a method?
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