Getting debugger line numbers from external assembly from ASP.Net

  • Thread starter Thread starter jkj2000
  • Start date Start date
J

jkj2000

Hi everyone,

I have an ASP.Net app that uses a C# assembly I compiled as a separate
project / dll. This assembly was compiled in debug mode, yet when the
ASP.Net page calls a method in it, and an exception occurs within that
the assembly's method, there is no line number info in the generated
exception.

The external assembly sits in my ASP.Net app's bin folder....but in
order for line numbers to appear whenever this assembly generates an
exception, do I also need its .pdb file in the bin folder as well?
We're using version 1.1 of the .Net runtime, and Visual Studio 2003,
fwiw. Thanks very much for the assist!
 
Hello (e-mail address removed),

Just to add to Mark post, if your put your DLL into GAC you need to put the
PDB next to gac dll either

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
 
Back
Top