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

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.
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

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

Cheers,
 
V

Verane C

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top