Debug mono on Linux #67620
-
I need to debug mono https://github.com/dotnet/runtime/tree/main/src/mono. Does someone know how to launch a console dotnet program with a locally built mono on Linux (Debian 10) and debug it ? I will be grateful for any commands/hints/docs you can provide. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In fact, corerun for coreclr can actually load Mono too. You can follow the coreclr debugging instructions, and set working directory or CORE_ROOT environment variable to build output of Mono. The Mono runtime entry point is also named as |
Beta Was this translation helpful? Give feedback.
In fact, corerun for coreclr can actually load Mono too. You can follow the coreclr debugging instructions, and set working directory or CORE_ROOT environment variable to build output of Mono. The Mono runtime entry point is also named as
coreclr.dll
(libcoreclr.so
, but I'm not very sure for Linux) for this.