No Symbols loaded error - C#

J

JV

Hi All,

I am new to C# and I am having trouble compiling and running code. I
have the code written (it was just an example that I took) and I run
it, it gives me No Symbols loaded error as below.
Please let me know what is that I am doing wrong.


'DefaultDomain': Loaded
'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
'TestSample': Loaded 'C:\Documents and Settings\mycomputername\My
Documents\Visual Studio
Projects\TestSample\TestSample\bin\Debug\TestSample.exe', Symbols
loaded.
The program '[3320] TestSample.exe' has exited with code 0 (0x0).
 
B

Barry Kelly

JV said:
Hi All,

I am new to C# and I am having trouble compiling and running code. I
have the code written (it was just an example that I took) and I run
it, it gives me No Symbols loaded error as below.
Please let me know what is that I am doing wrong.

'DefaultDomain': Loaded
'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
loaded.
'TestSample': Loaded 'C:\Documents and Settings\mycomputername\My
Documents\Visual Studio
Projects\TestSample\TestSample\bin\Debug\TestSample.exe', Symbols
loaded.
The program '[3320] TestSample.exe' has exited with code 0 (0x0).

As far as I can see, this means your program ran and exited
*successfully* under the debugger.

If you debug your application using Mixed mode (i.e. project properties,
Debug tab, Enable unmanaged code debugging), it tries to load symbols
for each assembly or DLL as they are loaded. If you don't have the PDBs
for mscorlib.dll on your path, then obviously the symbols won't be
loaded.

-- Barry
 
B

Barry Kelly

Barry Kelly said:
As far as I can see, this means your program ran and exited
*successfully* under the debugger.

I should point out that you don't need Unmanaged debugging or
mscorlib.dll symbols to debug any pure C# or managed code.

-- Barry
 
K

Kevin Spencer

I answered your first post of this exact same question. Tsk tsk.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

The man who questions opinions is wise.
The man who quarrels with facts is a fool.
 

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

Similar Threads


Top