[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Function Breakpoints
|
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Abdelhalim Ragab
> Sent: Monday, April 18, 2011 4:16 PM
> To: cdt-dev@xxxxxxxxxxx
> Subject: Re: [cdt-dev] Function Breakpoints
>
> > From: Marc Khouzam <marc.khouzam@xxxxxxxxxxxx>
> >I'm not sure I properly understood the issue
>
> I think you do.
>
> >attr.put(MIBreakpoints.BREAKPOINT_TYPE, MIBreakpoints.BREAKPOINT);
> >attr.put(MIBreakpoints.FILE_NAME, sourceFile);
> >attr.put(MIBreakpoints.FUNCTION, methodName);
>
> Is the FILE_NAME attribute required or optional?
Optional
> Is this method applicable only for GDB? This will work fine with me at
> the moment, although I prefer something that doesn't depend on the
> backend, just in case I wanted to support something other than GDB.
IRunControl is a DSF interface and does not apply only to GDB.
However, the constants in MIBreakpoints are part of DSF-GDB.
If you were to use something else than GDB, you may simply need
to update the attribute keys.
Marc