[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-debug-dev] Error Dialogs in CDI Plugin Core
|
>
>
> Hi!
>
> see below...
>
> >CDI is a pure interface that a debugger engine must
> >implement.
>
> That's what I am doing...
>
> >You do not necessarly need an UI part unless you
> >want to provide some tweaks etc ..
>
> Yes, I want to add my own options.
> (My debugger isn't a GDB debugger.)
>
> > ===============
> >| cdt.debug.ui |
> > ===============
> > ||
> > \/
> > ================
> >| cdt.debug.core |
> > ================
> > ||
> > \/
> > ============== ==============
> >| CDI | --+---> | mi.core(GDB) |
> > ============= | ==============
> > |
> > | ===============
> > +---> | Other debugger|
> > ===============
>
> "Other debugger" is exactly, what I am trying to implement.
>
> >So keeping the ascii art above in mind, not sure why you
> >would need SWT Messagbox, JFace etc ... since the policy
> >making is done by the higher levels cdt.core and cdt.ui.
>
> When launching the debugger, some errors may occur. I am
> throwing exceptions with descriptions, but the Eclipse
> UI only shows "An exception occurred while launching debugger".
> This is not very informative to the user, so I'd like to give
> an additional statement, telling him what happened exactly.
>
> Mikhail suggested, to catch the exception in the UI plugin.
> Is this possible? Can I throw an exception in the core, and
> catch it in ui?
Yes.