Debugger doesn't break on exception?



And as long as I'm asking questions...

I can't figure out how to get the Eclipse debugger to break into a thread automatically if a null reference exception occurs.

I know that Eclipse generally should do this, because the Windows version works as I expected it to by default. But on the Mac, I can watch a null reference exception come up in the console window, but the application just keeps chugging away happily. I never break into the debugger as I expected to.

The only setting I found that seems to relate to this is in the Java/Debug preferences, and I do have it set ("Suspend execution on uncaught exceptions"). I suppose by implication this may mean that the exception was actually caught and handled somewhere. But where? How do I stop them from being handled (if that is indeed the problem)? And why does it work differently on the Mac than on Windows? Does this mean it's the JRE that's actually getting in the way somehow?

Thanks!
Pete

(...and yes, I realize there are Eclipse newsgroups...I searched them and found nothing on this particular topic, though queries that involve "null reference exception" turn up lots of other stuff. I posted here because, well...I don't need another username and password to do so and it seems reasonably on-topic to me. I figure there's a good chance that at least some of the folks here are using Eclipse and have some experience with something like this :) ).
.



Relevant Pages

  • Re: I Canīt do it with Java,I canīt do it with C#.
    ... For GUI Building, unless you REALLY KNOW JAVA, I would not do it in Eclipse. ... ties directly to native widgetset APIs (ie Windows APIs, GTK+ APIs, etc). ... article is, but Linux developers are not embracing Mono, primarily due to ...
    (borland.public.delphi.non-technical)
  • Re: Visual C++ 6 support issue
    ... It is worth noting that Eclipse is developing a C/C++ version. ... >perspective to another the user can quickly change the set of windows ... >hold such edit controls resizable, and have the controls grow with the ...
    (microsoft.public.vc.mfc)
  • Re: C# oder C++?
    ... die mir durch eine gute GUI ... Aber schau Dir Eclipse an. ... Mac und Linux native Steuerelemente ... Entweder Klicki-Bunti mit Nachdenken oder Klick-Bunti nur für Windows. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: PowerPC, uCOS-II, GCC port
    ... Eclipse on Windows XP; language is C. ... layer with GCC; it seems less happy with Cygwin although I would ... MinGW if we can. ...
    (comp.arch.embedded)
  • Re: eclipse startet immer noch nicht... :-(
    ... Solltest du Windows benutzen: ... Es gibt zwei Eclipse Versionen, bzw. gab es die mal, eine Motif-Version ... "Gewisse Schriftsteller sagen von ihren Werken immer: 'Mein Buch, ... 'unser Buch, unser Kommentar, unsere Geschichte'; ...
    (de.comp.lang.java)