3

I would like to be able to debug NHibernate and I have never loaded any symbols from SymbolSource.org before.

What url do I need to enter in Visual Studio to get it to load the symbols for NHibernate so that I can debug it properly? I'm running version 3.2.0.4000 of NHibernate.

Edit:

This is how I have it configured.

Debug Options

I see this in the output window. Notice that it loads the symbols for Iesi.Collections but not NHibernate.

'QTAgent32.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\cwerner\TFS\Zeta\TestResults\cwerner_LKN030 2012-05-23 07_33_53\Out\NHibernate.dll'
'QTAgent32.exe' (Managed (v4.0.30319)): Loaded 'C:\Users\cwerner\TFS\Zeta\TestResults\cwerner_LKN030 2012-05-23 07_33_53\Out\Iesi.Collections.dll', Symbols loaded.

2 Answers 2

4

Your version of NHibernate is present on the server of symbolsource.org.

How to config symbolsource.org see this link:

http://www.symbolsource.org/Public/Home/VisualStudio

Symbolsource server url: http://srv.symbolsource.org/pdb/Public

5
  • This is what I tried initially but was unsuccessful. It doesn't seem to load the symbols. I see some symbols being loaded but not NHibernate.
    – Cole W
    May 23, 2012 at 11:38
  • I think it does not work because your platform is .Net 4.0 and symbolsource.org has only the .Net 3.5 symbols (symbolsource.org/Public/Metadata/Default/Project/NHibernate/…).
    – Gerard
    May 24, 2012 at 21:18
  • It looks like it's loading Iesi.Collections and I don't believe it has the 4.0 symbols. You can see it loads the symbols above in my post for this. symbolsource.org/Public/Metadata/Default/Project/…
    – Cole W
    May 25, 2012 at 13:34
  • You are right! How do your "Tools -> Options -> Debugger -> General" options look like?
    – Gerard
    May 25, 2012 at 14:34
  • Do you want to know any specific settings?
    – Cole W
    May 26, 2012 at 21:02
1

Where did you get your NHibernate 3.2 GA binaries from? Symbols for those were provided by SymbolSource by independently compiling the sources and reverse engineering PDBs - so results may vary. NHibernate has only started pushing official symbols since 3.3 CR1.

If you post a link to the actual binaries you're using, we might try to forge PDBs for those too, but only if it's any of the official distributions.

1
  • I use NuGet. I am running version 3.2.0.4000
    – Cole W
    May 26, 2012 at 20:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.