[Mono-dev] [Mono Debugging]How can I start debug service without blocking?

xoyojank xoyojank at gmail.com
Wed Jan 11 02:18:43 UTC 2012

I emebed Mono as script in a C++ application, and use MonoDevelop to debug
the C# code.
The "Attach to process" works now, but the application does not continue to
run until MonoDevelop attach to it.

I start the debug serivice likes this:
	sprintf_s(options, 255,
"--debugger-agent=transport=dt_socket,address=,server=y", port);
	mono_jit_parse_options(1, args);
	// setup mono
	mono_set_dirs(libPath, etcPath);
	m_mainDomain = mono_jit_init(assemblyPath);// this call would wait until MD

How can I attach to process at any time when the application is running?

View this message in context: http://mono.1490590.n4.nabble.com/Mono-Debugging-How-can-I-start-debug-service-without-blocking-tp4284242p4284242.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

More information about the Mono-devel-list mailing list