|Disassembly Editor [message #1724410]
||Tue, 23 February 2016 18:10
| Marc Kunze
Registered: May 2014
When attaching to a process without having any source code, it shows the "No source available" editor.|
This can lead to a situation where only the "View Disassembly" button is visible:
In that case, it seems it would make more sense to use the Disassembly Editor instead of the Disassembly View. Also, if there is only one option for the user "View Disassembly", why not show directly the disassembly editor without clicking on a button first?
That way, if the user clicks on a method in the debug view, the disassembly editor is shown directly.
I wanted to implement this by myself, but I am not very deep into the CDT code.
I figured out that it probably would be best to implement it in the DsfSourceDisplayAdapter class, which can set the editor to the disassembly editor.
I am not sure how I to construct the DisassemblyEditorInput.
But I think I'd need a ICDebugElement for this. But aren't these only available when I have a normal C(++) debug target, which is not the case here?
How can I use a DisassemblyEditor with an attached process?
Thank you very much in advance
[Updated on: Tue, 23 February 2016 18:12]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03582 seconds