www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14497] New: Disassembly view

https://issues.dlang.org/show_bug.cgi?id=14497

          Issue ID: 14497
           Summary: Disassembly view
           Product: D
           Version: unspecified
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: VisualD
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

One thing that would be super-useful while doing performance work, would be to
be able to show disassembly for a file at any moment without having to launch
the exe and break the debugger.

I can imagine this taking a few forms, on a scale from simple to awesome.

simple: .d files in the solution explorer gain a context menu item "Show
Disassembly" which builds the file and opens a new tab displaying the
disassembly.

awesome: that disassembly tab is refreshed automatically upon edit's to the
file it refers to, so as you make changes, you can see the changes to the
assembly in practical real-time. ideally, this would also respond to change of
config/platform.


How difficult is it to get the disassembly for a file?
It would ideally to have the source interleaved.


My current iteration time involves making some changes, building and running
the exe, breaking the debugger, then showing disassembly. That's a really slow
and awkward turn-around time.
It also implies that the whole program compiles and links. It would be ideal
that 'Show Disassembly" would only build the single file so you can
work/iterate regardless if the whole program compiles and runs.

--
Apr 24 2015