[MonoDevelop] Debugging dll compiled with MSBuild

Matthias Schnelte matthias.schnelte at de.abb.com
Tue Dec 1 16:14:20 UTC 2015


Hi everyone,

I did some extensive google searches on the topic but I am stuck on the following:

I would like to debug c# code that has been compiled with Visual Studio 2013 on a Windows Machine on linux using MonoDevelop.
I was under the impression that converting the pdb file to mdb should suffice for that but apparently this is wrong.

Here is what I do:

I compile a simple hello world c# solution on windows.
I call pdb2mdb on the resulting exe file in /bin/Debug. An mdb file is created.

In MonoDevelop I start debugging (F5). MonoDevelop claims that the build is out-dated. I cancel the rebuild.
The program runs through ignoring all breakpoints. Also stepping in is not possible.

When comparing the mdb file generated by MonoDevelop I noticed that it has three times the size then the one generated by pdb2mdb.

I know that I can compile on Linux and then everything works as expected but I would like to keep the build process running on windows. Just doing the debugging on Linux to find Linux specific errors.
The best would even be to be able to do remote debugging on the Linux target from Visual Studio.

Any hints on that?

Thank you!

Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20151201/83379c4d/attachment.html>


More information about the Monodevelop-list mailing list