Debugging assemblies in GAC

K

Krishnan

Hi,
Could somebody please let me know if we there is any way to debug the
assemblies in GAC through the VSNET IDE?


TIA
Krishnan
 
N

Nicholas Paldino [.NET/C# MVP]

Krishnan,

Assemblies in the GAC are like any other assemblies. You can debug
them, but only if they have debug symbols in them, and you have the code.
If you mean assemblies such as System, mscorlib and whatnot, then no, you
can't debug them. However, you can place your own assemblies in the GAC
with debug symbols, and debug them as you would normally.

Hope this helps.
 
K

Krishnan

Thank you for that. But, is it that I can only debug through the disassembly
here? Can't I debug through the code?
Krishnan

Nicholas Paldino said:
Krishnan,

Assemblies in the GAC are like any other assemblies. You can debug
them, but only if they have debug symbols in them, and you have the code.
If you mean assemblies such as System, mscorlib and whatnot, then no, you
can't debug them. However, you can place your own assemblies in the GAC
with debug symbols, and debug them as you would normally.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Krishnan said:
Hi,
Could somebody please let me know if we there is any way to debug the
assemblies in GAC through the VSNET IDE?


TIA
Krishnan
 

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