[Mono-list] Command line debugging
inorton at gmail.com
Tue Aug 13 19:59:10 UTC 2013
You can run a program that will listen for monodevelop on a TCP port before
it enters it's main method.
$ mono --debug --debugger-agent=transport=dt_socket,address=0.0.0.0:12345,server=y,suspend=y
That will sit listening on port 12345 for a debugger to attach.
On another host you then do this:
And then load up your solution for the thing you want to debug, then use
the "Custom Command Soft Debugger" under the run menu.
On 10 August 2013 12:51, Matt Calder <mvcalder at gmail.com> wrote:
> We run a mono-based service out of the cloud. The server machines are
> headless, without windowing libraries installed. Is there a good way to
> debug code running under mono from the command line? For the most part we
> rely on mirrored environments that do have Monodevelop capability, but that
> mirroring can be imperfect at times. Thanks,
> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list