[Monodevelop-devel] Linux Remote Debugging

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Nov 30 14:28:22 EST 2011

On 27 November 2011 16:17, Peter Siegel <siegelpeter2009 at gmail.com> wrote:
> Hi!
> Im writing an Addin for Monodevelop which can debug mono Applications
> on remote Linux hosts based on the Meego Plugin. It seems like the
> Meego Addin has been discontinued... So i try to resurrect it as a
> general Linux Remote Debugging Addin.... ;-)
> I got it up and running, and the Debugger connects successfully, Pause
> and Continue works, but the Debugger ignores all breakpoints.
> I think the problem might be with the Assembly path in the  MDB files
> which are transfered to the Linux Host from my Windows PC, because
> FindLocation in ResolveBreakPoint is null.. and inisideLoadedRange ==
> false
>  Is there a way to change the Path info's in the MDB, so that i can
> use them on windows and linux devices?

That shouldn't matter, the paths are handled only in the context of
the host. We did initially have some issue but fixed them so that
MonoDevelop on Windows could debug Mono for Android apps.

How are you building the apps on Windows? I assume you selected the
Mono runtime so that your apps are built with mcs and have mdb
debugging files. If you're using the .NET target runtime, then your
apps will be built with csc files so will only have pdb files, which
Mono cannot handle directly. You'd need to use pdb2mdb
(mcs/tools/pdb2mdb) to convert them.

What version of Mono is running on the target device? Can you verify
that stack traces on the target device have file/line information that
corresponds to real files on the Windows host?

Michael Hutchinson

More information about the Monodevelop-devel-list mailing list