5

I'm building a code editor that needs to provide basic debugging functionality - i.e. my software needs to act as a debugger, debugging .Net libraries that it produced that will run (mainly) under various versions of the full .Net desktop framework. It needs to be able to debug both x86 as well as x64 applications.

Is there any good recent software or library providing debugging functionality?

Microsoft's mDBG sample is pretty good, but very old by now and is surely missing some of the more recent debugging interface features.

I've also stumbled upon Microsofts "VSDBG" tool, which I THINK is that Visual Studio Code uses for its .Net debugging. But then again, it seems you're only allowed to run this in conjunction with Microsoft products (Visual Studio or Visual Studio Code), also there is next to no information on this available. Also, it only seems to debug x64 processes at the moment I believe.

Is there any other library or method anyone could recommend?

Thanks!

2

Take a look at dnSpy. It is a decompiler that includes a debugger.

  • License: GPLv3
  • can debug both x64 and x86 (via separate executables)
  • supports breakpoints, locals, watch window, breaking on exceptions
  • is actively developed at the moment

enter image description here

  • 1
    While this may answer the question, can you expand it with some details about the proposed software? Have a look here too: softwarerecs.meta.stackexchange.com/q/455/6957 – Alejandro Apr 6 '18 at 0:02
  • Yes, please include at least a screenshot and the price, this has the potential to become a good answer :-) – Nicolas Raoul Apr 6 '18 at 5:56
  • I've update my answer, i hope it's better now – riQQ Apr 7 '18 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.