[MonoDevelop] debugging already running process

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Jan 28 22:49:23 UTC 2014


This feature exists but there's no docs and the UI is hidden behind an
environment variable.

When starting the debugger, you can include "server=y,suspend=n" in
the agent args. server=y will the debug agent in the runtime to listen
for an incoming connection (instead of trying to connected to an IDE),
and suspend=n will cause it to run the exe immediately instead of
waiting for a debugger to connect.

Then use the "custom soft debugger" to connect to your app:
http://tirania.org/blog//archive/2013/Oct.html


On 26 January 2014 12:42, doncl <cloredon42 at gmail.com> wrote:
> So, Jeff, thanks so much for the reply.   ....sorry if I'm still being
> dull....but....say, if I want to run my mono app in a web server (possibly
> xsp?) , do I just set some breakpoints, start xsp (pointing it at
> appropriate directory) with the Run With command from monodevelop menu, and
> that gets it done?
>
> thanks,
> Don
>
>
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/debugging-already-running-process-tp4661736p4661800.html
> Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list