Trace.Assert don't show line numbers from call stack ?

  • Thread starter Thread starter Verane
  • Start date Start date
V

Verane

Hi all,

I am writing code in C# using visual studio .NET 2003.
I use System.Diagnostics.Trace.Assert, and when I get an assertion at
run time, I can see the call stack.
But for each line of the call stack I don't see the line number,
except for the last line of the stack (which corresponds to the
Application.run in fact).

one precision : my application contains several assemblies, and the
call that raises the assertion has to go through the code of different
assemblies.

Is there some particular settings to have to see the line numbers ?

Thanks,
Verane.
 
Hi,

It may seen a dump question, but do you have the pdb files for the
assemblies?

Cheers,
 
Hi,
Thanks for your reply.
In fact I have all my assemblies and the corresponding .pdb files in the
same directory.
I don't know much about .pdb files. May be something is missing in them
??

Regards,
Verane.
 
Back
Top