[Mono-dev] Cannot compile monodebugger with mono from svn trunk
m.j.hutchinson at gmail.com
Sat May 29 20:33:32 EDT 2010
On Sat, May 29, 2010 at 3:10 PM, xplicit <svg at ngs.ru> wrote:
> In monodevelop 2.2 I don't see 'Run With Mono Soft Debugger' only 'Run With
> Mono Debugger'. In prefered debuggers I see: Mono Debugger, Mono Debugger
> for ASP.NET, GNU Debugger (GDB).
> Monodevelop 2.2 was installed from Ubuntu 10.04 repository and runs under
> mono 2.4.
The soft debugger commands are only be enabled when you target Mono
2.6 or later, because the soft debugger was only added in Mono 2.6.
However, you can target a Mono 2.6+ from a MD that's running on Mono
2.4 using MD's support for multiple target runtimes.
However, Ubuntu removed the soft debugger addin from their MonoDevelop
2.2 build, because it includes a binary dll copied from Mono 2.6 :/
> Also I have two parallel mono environment (mono 2.6.4 and mono 2.7) and
> tried to debug my applications with debugger from md 2.2 with no success. I
> did not try to recompile MD 2.2 from sources yet (shoud I recompile or maybe
> there is the way to add Soft Debugger to MD 2.2 without recompilation?)
An unmodified MD 2.2 build has the soft debugger addin. You could try
extracting the soft debugger addin dlls from the 2.2.2 rpms and
manually installing them.
> But I tried to check out MD from trunk, recompiled it under mono 2.6.4 and
> software debbuger appeared in the list and I now can debug my app under
> 'Soft Debugger' both in the 2.6.4 and 2.7 mono environment.
> Generic mono debugger does not work with MD2.4 under mono 2.6.4 environment,
> throwing 'MissingMethod' exception when evaluating watch (DeclaringType in
> Mono.Debugger.Method). I don't know why this happens, I examined assembly,
> which monodevelop tries to load (Mono.Debugger.dll from /opt/mono26) and it
> seems, that the assembly has this method (if I understood right the output
> of monodis)
I really don't know much about the MDB addin or whether it can work
with multiple target Monos. You could try filing a bug or asking on
the MD list. But if you have the soft debugger working, it's much more
reliable anyway :)
More information about the Mono-devel-list