I had the same problem with both JDK 1.2.2 + JPDA and JDK 1.3 running on my
Win 2K.  Disabling jde-bug-raise-frame-p solves it.  I use Swing in my app.

I notice that when a break point is set at code where user interaction is
required to trigger, Emacs would hang.  It seems like Emacs and Swing are
fighting for the focus.

Michael Oltmans writes:

  Michael> Platform: Win98, JDK 1.2 + jdpa add-on, JDE 2.1.6 I have the same
  Michael> problem and it seems to go away when I set jde-bug-raise-frame-p
  Michael> to nil.  Anyone have an idea why that would be?

  Michael> Cheers, Mike


  Michael> --- You wrote:
  >> Hi
  >>
  >> Platform: Win 2000, JDK 1.3, JDE 2.1.6
  >>
  >> I have a problem debugging my GUI code (with JDEBug).
  >>
  >> I successfully launch and step through my main window setup code. I
  >> then run the window and set up a breakpoint in an event handler. When I
  >> trigger the event in my app, emacs freezes. I think the breakpoint
  >> actually halts the execution but I am unable to swith to the Emacs
  >> process. Emacs is totally frozen until i manually kill the java process
  >> in which the application is running.
  >>
  >> Same hapens when I try to attach and debug a process.
  >>
  >> Help appreciated Thanks Iztok
  >>
  >>
  >> __________________________________________________ Do You Yahoo!?  Talk
  >> to your friends online with Yahoo! Messenger.  http://im.yahoo.com
  >>

-- 
Danny Siu

Reply via email to