Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set breakpoint and debug with dnSpy.Console.exe #247

Open
curie71 opened this issue Sep 26, 2023 · 1 comment
Open

set breakpoint and debug with dnSpy.Console.exe #247

curie71 opened this issue Sep 26, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@curie71
Copy link

curie71 commented Sep 26, 2023

Problem Description

Set breakpoint and debug with dnSpy.Console.exe

Proposal

A console debugger like gdb!

Alternatives

No response

Additional Context

No response

@curie71 curie71 added the enhancement New feature or request label Sep 26, 2023
@ElektroKill
Copy link
Member

The current implementation of the console project can be called hacky at best. Compared to the dnSpy UI it does not use MEF and instead just explicitly loads the decompiler dll and instantiates the correct decompiler object with manually created dependency objects. The debugger relies heavily on MEF since it is designed around it. It is also heavily designed around the GUI with many of its APIs. Adding debugging support to the console would be extremely laborious as the console application would need to be rewritten to use MEF just like the GUI to allow better integration of all the components. After that is done the debugger would probably need to be adjusted to also be usable in a CUI environment.

I'm interested in why you'd like to use a console debugger rather than the GUI. Would be great if you could provide some thoughts on this :p

As a final note, I don't see myself working on this in the foreseeable future as it is not that high of a priority issue and it is quite complex to implement, that is unless this turns out to be a popular feature request. Sorry!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants