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
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
|