Cannot debug mono application (f-spot) using mdb due to missing debug library (glib-sharp.dll.mdb)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mono-debugger (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: mono-debugger
OS VERSION: Ubuntu 9.10 (Karmic Koala)
PACKAGE VERSION: mono-debugger:
Installed: 2.4.2-1
Candidate: 2.4.2-1
Version table:
*** 2.4.2-1 0
STEPS TO REPRODUCE
* Download f-spot source code from the gnome it repository at http://
* Install mono debug libraries
- mono-debugger
- libmono0-dbg
- mono-dbg
- mono-runtime-dbg
* Build f-spot using http://
* Ensure there is an .mdb file for f-spot in addition to the f-spot executable
* Try to debug mono application
- cd to your f-spot directory
- You need to run
mdb your_f-
EXPECTED RESULT
mdb debugging session
ACTUAL RESULT (after running '~/mono_
*******
Mono Debugger
(mdb) run
#Starting program: src/f-spot.exe
Cannot read symbol file `/usr/lib/
** (src/f-
Assembly: Mono.Addins.Setup (assemblyref_
Version: 0.3.0.0
Public Key: (none)
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/var/fastshare
** (src/f-
Unhandled Exception: System.
File name: 'Mono.Addins.Setup, Version=0.3.0.0, Culture=neutral, PublicKeyToken=
Thread @1 exited with exit code 1.
(mdb) #Thread @1 exited.
Process #1 exited.
Target exited.
*******
Basically, it appears that a package containing debug symbols for is missing
I found the following tool very useful to search for what package an expected file is in
* sudo aptitude install apt-file
* sudo apt-file update
* apt-file search glib-sharp.dll.mdb
This search produces no results, whereas the following shows packages that do provide mdb files
* apt-files search .mdb
Running apt-file search glib-sharp.dll returns 'libglib2.0-cil' as the package that provides mono with glib functionality so my question is:
*** Is there a debug version of the package glib-sharp.dll? ***