|
Replies:
4
-
Last Post:
Sep 25, 2007 6:30 AM
by: hotjar
|
|
|
|
|
|
|
How to evaluate expressions in the java source debug context?
Posted:
Sep 24, 2007 5:32 AM
|
|
|
As a swing developer, I usually need to debug something in the java source debug context. That's always not obvious(Even in this morning, I was pissed off for someone let a JTree's root node have a parent. That cost me two hours to debug and guess), and I got used to cost my whole lovely morning to find a clue in the java source code. Because I can not evaluate expressions in the java source debug context, at least, eclipse does that way.
I want to konw if Netbeans can do that, or if that is a way to make eclipse work.
Thank you in advance.
|
|
|
|
|
|
|
Re: How to evaluate expressions in the java source debug context?
Posted:
Sep 24, 2007 5:42 AM
in response to: hotjar
|
|
|
When the highlight debug cursor entered the java source code line, I was so helpless.
Does anybody have a way to end that misery?
|
|
|
|
|
|
|
|
Re: How to evaluate expressions in the java source debug context?
Posted:
Sep 24, 2007 6:56 AM
in response to: hotjar
|
|
|
You might want to work on the way you formulate your question. It is hard to guess what you really want.
If you want expression evaluation in NetBeans press Ctrl-F9 while debugging. For more information use the build-in help:
Help -> Help Contents -> Java Project Basics | Debugging Java Applications
|
|
|
|
|
|
|
|
Re: How to evaluate expressions in the java source debug context?
Posted:
Sep 24, 2007 8:52 AM
in response to: hotjar
|
 |
Correct |
|
|
I guess you're looking for a debug version of JDK. You can install one from [1].
[1] http://download.java.net/jdk6/binaries/
|
|
|
|
|
|
|
|
Re: How to evaluate expressions in the java source debug context?
Posted:
Sep 25, 2007 6:30 AM
in response to: hotjar
|
|
|
That means a lot to me. Thank you, kirillcool!
Your reply will save me a lot of time!
|
|
|
|
|