[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Inserting Breakpoint Marker into DSF Disassembly View

Hi Toni,

 

There isn’t any particular reason to have a separate annotation model, it is the first thing that come to my mind to do without modifying the disassembly view.

 

I have submitted an enhancement (300053) request and will try to come up with a patch.

 

Regards,

Patrick


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Leherbauer, Anton (Toni)
Sent: January 19, 2010 3:03 AM
To: CDT General developers list.
Subject: RE: [cdt-dev] Inserting Breakpoint Marker into DSF Disassembly View

 

Hi,

 

I would suggest to enhance the existing disassembly breakpoint annotation model to your needs.

Currently ICAddressBreakpoints and ILineBreakpoints are supported.

If this is not sufficient we can think about an enhancement to e.g.

an adapter provided by clients to provide address or source line for a breakpoint.

That way you don't need to deal with document positions at all.

Or is there a special reason why you need a separate annotation model?

 

Regards,

Toni

 

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Chuong, Patrick
Sent: Monday, January 18, 2010 8:27 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Inserting Breakpoint Marker into DSF Disassembly View

Hi,

 

I am trying to insert a custom breakpoint marker into the DSF disassembly view. I have created my own annotation model and attach it to the disassembly part, but I am not able to figure out the marker position from an address or a source location. There are few helper methods in the DisassemblyDocument that return the position, and I am wondering whether it is possible to make the DisassemblyDocument public or perhaps have the helper methods in another public utility class. If this is not the right thing to do, can some one suggest how to insert marker into the DSF disassembly view?

 

Thanks,

Patrick