Re: JDEbug hangs trying to debug GUI (swing) application

2002-10-09 Thread Milan Zimmermann

Hi,

I realize this is not of much help but i was never able to JDEbug an 
Application that uses swing. The debugger part of JDE worked for me 
(somewhat) only for non GUI apps.

Milan
On October 7, 2002 03:07 am, Serguei Khomiouk wrote:
 Hello,

 I am using emacs for WinNT during last year both for editing and debugging
 java codes without any problems. Times passed, and now I switched from
 server to frontnend side.
 I have faced with the greate problem: JDEbug just hangs trying to stop at
 breakpoint in GUI java application.

 My investigations of the problem shows that JDEbug resolves breakpoints and
 breaks without any problems if these breakpoints are placed before
 initilising GUI part, but then it just hangs. I have tried to connect to
 debug the application remotely but the result was the same. I am using
 emacs-21.2 with jde-2.2.8, jdk1.3.1_04 and don't want to replace emacs with
 anything else, but this debugging problem... that's my headache during the
 last week.

 ANY opinions, ideas and tips?

 Thanks in advance,
 Serguei.



Re: JDEbug hangs trying to debug GUI (swing) application

2002-10-09 Thread Paul Kinnucan

Milan Zimmermann writes:
  Hi,
  
  I realize this is not of much help but i was never able to JDEbug an 
  Application that uses swing. The debugger part of JDE worked for me 
  (somewhat) only for non GUI apps.
 
Milan is correct. JDEBug does not work for GUI apps, which severely
limits its usefulness. This is obviously a threading issue related to 
the fact that all Java GUI's operate on the same thread. Other
IDEs have solved the problem. I'm not sure that whether the 
problem is solvable in the JDEE's case where JDEBug must interact
with Emacs. I plan to look into this when I turn to upgrading
JDEBug.

- Paul