No Symbols loaded error - C#

  • Thread starter Thread starter JV
  • Start date Start date
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).
 
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
 
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
 
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.
 
Back
Top