Solved

debug GUI

Posted on 2001-06-15
6
324 Views
Last Modified: 2010-03-31
Can you use 'jdb' to debug a GUI program? How do you debug a java GUI program?
0
Comment
Question by:menubar
6 Comments
 
LVL 1

Accepted Solution

by:
kuro earned 20 total points
ID: 6195974
I recommend remote debug function.
jdb can attach running process which is started with -debug option on remote machine.

debuggee:
   Start java program with -debug option.
   Then it show password to attach.
debugger:
   Start jdb with -host and -password option.
0
 

Author Comment

by:menubar
ID: 6196256
Sorry, but I don't understand what the above has to do with GUI programs?
0
 
LVL 7

Expert Comment

by:Igor Bazarny
ID: 6196797
Hi,

In fact, GUI debugging is not very different to non-GUI debugging. Essential point is that you need to set breakpoint at function you want to trace--it's impossible to reach GIU-related code using step by step execution from entry point. I would prefer reach GUI-based debugger (e.g. JBuilder).

Regards,
Igor Bazarny,
Brainbench MVP for Java 1
www.brainbench.com
0
 

Expert Comment

by:CleanupPing
ID: 9062038
menubar:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 14

Expert Comment

by:sudhakar_koundinya
ID: 9253852
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:


[split points between bazarny and kuro]


Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
sudhakar_koundinya
EE Cleanup Volunteer
---------------------
If you feel that your question was not properly addressed, or that none of the comments received were appropriate answers, please post your concern in THIS thread.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
thymeleaf natural templating vs JSP 2 99
session migration servlets 2 36
tomcat not starting 6 45
JavaFX TableView not displaying correctly 3 18
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question