Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] DSF: 3rd Party Plugin Breakpoint Support?

Let’s say I have a plugin that want to support DSF w/GDB and DSF w/Custom Debugger. Is there anyway to create a plugin that can insert a line breakpoint without the knowledge of the CDIDebuggerModel and the custom breakpoint factory? Is this something that I have to provide as a DSF service i.e breakpoint factory service? Or there is a standard practice for plugin to follow inorder to support more than one debugger?

 

Thanks,

Patrick

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pawel Piech
Sent: Friday, May 01, 2009 5:56 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] DSF: 3rd Party Plugin Breakpoint Support?

 

I don't completely understand the question.  A DSF breakpoint service is a consumer of breakpoints, it does not create them.  So you can use whatever factory you need (implemented in whatever plugin) to create the breakpoints,

Chuong, Patrick wrote:

Hi,

 

Can a 3rd party DSF plugin be written generically to support both ICBreakpoint and custom breakpoint without having to consider supporting different breakpoint factories?

 

From my understanding, CDIDebugModel is the factory for creating ICBreakpoint. A 3rd party DSF plugin can use the factory methods to create ICBreakpoint. However, the same plugin will need to depend on another plugin to create custom breakpoint. Is there anything that a 3rd party DSF plugin can do without having to depend on CDIDebugModel and custom breakpoint factory? Does a breakpoint factory interface at the DSF framework can help me to overcome this issue?

 

Thanks,

Patrick

 



 
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
  

 


Back to the top