Skip to content

[Feature Request]: open disassembly view at specified C source line (VSC-1691) #1561

@bryghtlabs-richard

Description

@bryghtlabs-richard

Is your feature request related to a problem? Please describe.
I'd like to open the disassembly view for a specific function that is not in the call stack.

Describe the solution you'd like
I'd like right-click -> open disassembly view on a function name to take me to that function, or right-click -> open disassembly view on a non-function-call line to take me to that function's disassembly view

Describe alternatives you've considered
Sometimes I set a breakpoint on the code I want to disassemble then run until I can hit it, but this changes the program state. Sometimes I can scroll in the disassembly view. But usually I use objdump instead.

Additional context
The documentation states, You can check the assembly code during a debugging session by right-clicking on any line in in a source code file and selecting Open Disassembly View. Disassemble View shows the assembly code with C code, where you can also set breakpoints. but this always seems to open the disassembly view at either the current program counter, or the previous location the disassembly view was opened at.

Please consider this a low-priority request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature / Enhancement RequestRequest for Feature/ EnhancementongoingOngoing Issue or PR, this label will be used for issue or PR which is to be excluded by stale botvscode related problemThis issue is related to the bug/ behaviours of the vscode and not the extension itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions