NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
mathmax
Joined: 27 Sep 2008 Posts: 10
|
Posted: Wed Oct 15, 2008 4:15 pm Post subject: execute some code while debugging |
|
|
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.
|
Posted: Wed Oct 15, 2008 9:53 pm Post subject: execute some code while debugging |
|
|
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
|
|
| Back to top |
|
 |
mathmax
Joined: 27 Sep 2008 Posts: 10
|
Posted: Thu Oct 16, 2008 1:13 am Post subject: |
|
|
perfect.
Thank you. |
|
| Back to top |
|
 |
|
|
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
|
|