Cannot debug mono application (f-spot) using mdb due to missing debug library (glib-sharp.dll.mdb)

Bug #483044 reported by Declan McGrath
6
This bug affects 1 person
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://f-spot.org/Download
* Install mono debug libraries
  - mono-debugger
  - libmono0-dbg
  - mono-dbg
  - mono-runtime-dbg
* Build f-spot using http://f-spot.org/How_To_Build_from_HEAD
* 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-spot_executable

EXPECTED RESULT
mdb debugging session

ACTUAL RESULT (after running '~/mono_dev/development/f-spot$ mdb src/f-spot.exe'):
*********************************************************************************************************
Mono Debugger
(mdb) run
#Starting program: src/f-spot.exe
Cannot read symbol file `/usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll.mdb': Could not find file "/usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll.mdb".

** (src/f-spot.exe:23199): WARNING **: The following assembly referenced from /var/fastshare/mono_dev/development/f-spot/src/f-spot.exe could not be loaded:
     Assembly: Mono.Addins.Setup (assemblyref_index=32)
     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/mono_dev/development/f-spot/src/).

** (src/f-spot.exe:23199): WARNING **: Could not load file or assembly 'Mono.Addins.Setup, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Addins.Setup, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
File name: 'Mono.Addins.Setup, Version=0.3.0.0, Culture=neutral, PublicKeyToken=null'
Thread @1 exited with exit code 1.
(mdb) #Thread @1 exited.
Process #1 exited.
Target exited.
*********************************************************************************************************

Revision history for this message
Declan McGrath (declanmg) wrote :

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? ***

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.