Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 23:33 Go to next message
Mark Hilgart is currently offline Mark HilgartFriend
Messages: 3
Registered: July 2009
Junior Member
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] Mon, 26 May 2003 02:22 Go to previous messageGo to next message
Mark Hilgart is currently offline Mark HilgartFriend
Messages: 3
Registered: July 2009
Junior Member
"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 16:02 Go to previous message
Darin Wright is currently offline Darin WrightFriend
Messages: 454
Registered: July 2009
Senior Member
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 Feb 05 17:55:39 GMT 2025

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

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

Back to the top