Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Debugger doesn't stop at error?
Debugger doesn't stop at error? [message #38832] Sun, 25 May 2003 19:33 Go to next message
Eclipse UserFriend
I'm throwing a null pointer exception in my applet, but by the time the
debugger breaks the call stack is down to just one line:

EventDispatchThread.run() line: 112 [local variables unavailable]

I can set a breakpoint on the line that throws it, and the call stack
looks fine. I step through and watch the exception being thrown, the
stack unwind, and then it breaks when it gets down to that one line.

How do I get it to break on the line that causes the error?

Eclipse 2.1, JDK 1.4, Windows XP.

-Mark
Re: Debugger doesn't stop at error? [message #38864 is a reply to message #38832] Sun, 25 May 2003 22:22 Go to previous messageGo to next message
Eclipse UserFriend
"Mark Hilgart" <contact@markhilgart.com> wrote in message
news:barjsg$42u$1@rogue.oti.com...

> How do I get it to break on the line that causes the error?

I got it to break by setting a breakpoint on uncaught RuntimeExceptions.
But I wrote a Hello World app and used a null pointer, and that broke
right away. Any idea why?

-Mark
Re: Debugger doesn't stop at error? [message #40828 is a reply to message #38864] Tue, 27 May 2003 12:02 Go to previous message
Eclipse UserFriend
Does the event dispatch thread catch exceptions?

Darin

"Mark Hilgart" <contact@markhilgart.com> wrote in message
news:bartp3$8hq$1@rogue.oti.com...
> "Mark Hilgart" <contact@markhilgart.com> wrote in message
> news:barjsg$42u$1@rogue.oti.com...
>
> > How do I get it to break on the line that causes the error?
>
> I got it to break by setting a breakpoint on uncaught RuntimeExceptions.
> But I wrote a Hello World app and used a null pointer, and that broke
> right away. Any idea why?
>
> -Mark
>
>
Previous Topic:How to open multi-console simultaneously?
Next Topic:Drag and drop and debugger on linux?
Goto Forum:
  


Current Time: Wed Jul 09 06:49:43 EDT 2025

Powered by FUDForum. Page generated in 0.05547 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top