techl / MonoRemoteDebugger

Other
83 stars 18 forks source link

Attaching to embedded mono process #26

Open DarioGi opened 8 years ago

DarioGi commented 8 years ago

Installed product versions

How would one go about to attaching to an embedded mono process (ex: C program which starts mono with something like:

    const char* options[] = {"--debugger- agent=transport=dt_socket,address=localhost:12345,server=y,suspend=y"}; 
    mono_jit_parse_options(1, (char**)options);
    mono_debug_init(MONO_DEBUG_FORMAT_MONO);
techcap commented 7 years ago

It doesn't support attaching function, now. Is it possible in Mono for launched process without debug option?

johnson3d commented 3 years ago

It doesn't support attaching function, now. Is it possible in Mono for launched process without debug option? It supported now?I setup mono like this const char options[] = { "--soft-breakpoints", "--debugger-agent=transport=dt_socket,server=y,address=127.0.0.1:13000,timeout=9999999" }; mono_jit_parse_options(sizeof(options) / sizeof(char), (char**)options); but MonoRemoteDebugger attach failed.