NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

execute some code while debugging

 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
mathmax



Joined: 27 Sep 2008
Posts: 10

PostPosted: Wed Oct 15, 2008 4:15 pm    Post subject: execute some code while debugging Reply with quote

Hello,

Is it possible to test some code while debugging ? For example I would like to test the the type of a variable with the get_class() method.

Regards,

mathmax
Back to top
radek matous
Posted via mailing list.





PostPosted: Wed Oct 15, 2008 9:53 pm    Post subject: execute some code while debugging Reply with quote

mathmax wrote:
Quote:
Hello,

Is it possible to test some code while debugging ? For example I would like to test the the type of a variable with the get_class() method.

Regards,
mathmax

Hi mathmax,
you can create new watch Ctrl+Shift+F7 (main menu Debug->NewWatch or
popup in editor) and as an expression something like: get_class($myobject)

Radek
Quote:









Back to top
mathmax



Joined: 27 Sep 2008
Posts: 10

PostPosted: Thu Oct 16, 2008 1:13 am    Post subject: Reply with quote

perfect. Smile
Thank you.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Page 1 of 1

 
Jump to:  
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
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo