[Mono-dev] SVN Debugger issues

John M. Anderson sontek at gmail.com
Wed Jun 4 15:24:40 EDT 2008


Hey, I'm trying to get the SVN of the mono debugger working properly but
at run time it crashes because of version issues, which I assume is
because of the way I have my environment setup... Was wondering if
anyone had any ideas how to fix it.

I have svn mono and the debugger in: in /home/sontek/bin/mono 

I use this script to setup my environment:


#!/bin/bash
MONO_PREFIX=/home/sontek/bin/mono
export LD_LIBRARY_PATH=$MONO_PREFIX/lib:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=$MONO_PREFIX/include
export ACLOCAL_PATH=$MONO_PREFIX/share/aclocal
export PKG_CONFIG_PATH=$MONO_PREFIX/lib/pkgconfig
export MONO_GAC_PREFIX=/usr
PATH=$MONO_PREFIX/bin:$PATH
PS1="[mono] \w @ "

and these are the errors I get when I run mdb.

[mono] ~/code/oss/mono/debugger/backend @ mdb

** (/home/sontek/bin/mono//lib/mono/2.0/mdb.exe:24384): WARNING **:
Symbol
file /usr/lib/mono/gac/Mono.GetOptions/2.0.0.0__0738eb9f132ed756/Mono.GetOptions.dll.mdb has incorrect version (expected 41, got 39)

** (/home/sontek/bin/mono//lib/mono/2.0/mdb.exe:24384): WARNING **:
Symbol
file /usr/lib/mono/gac/Mono.Debugger/1.0.0.0__0738eb9f132ed756/Mono.Debugger.dll.mdb has incorrect version (expected 41, got 39)

** (/home/sontek/bin/mono//lib/mono/2.0/mdb.exe:24384): WARNING **:
Symbol
file /usr/lib/mono/gac/Mono.Debugger.Backend/1.0.0.0__0738eb9f132ed756/Mono.Debugger.Backend.dll.mdb has incorrect version (expected 41, got 39)

** (/home/sontek/bin/mono//lib/mono/2.0/mdb.exe:24384): WARNING **:
Missing method Mono.Debugger.DebuggerOptions::get_StartXSP() in
assembly /usr/lib/mono/gac/Mono.Debugger.Backend/1.0.0.0__0738eb9f132ed756/Mono.Debugger.Backend.dll, referenced in assembly /home/sontek/bin/mono/lib/mono/2.0/mdb.exe

Unhandled Exception: System.MissingMethodException: Method not found:
'Mono.Debugger.DebuggerOptions.get_StartXSP'.



I thought with my environment script it would be pulling all its
libraries from /home/sontek/bin/mono but it doesn't seem to be.  

What am I doing wrong?



More information about the Mono-devel-list mailing list