473,545 Members | 2,049 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

No Symbols Loaded error in C#

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\mic rosoft.net\fram ework\v1.1.4322 \mscorlib.dll', No symbols
loaded.
'TestSample': Loaded 'C:\Documents and Settings\jayar\ My
Documents\Visua l Studio
Projects\TestSa mple\TestSample \bin\Debug\Test Sample.exe', Symbols
loaded.
The program '[3320] TestSample.exe' has exited with code 0 (0x0).

May 18 '06 #1
3 9718
There is no error in what you posted. "No symbols loaded" simply means that
debugging symbols were not loaded for a specific assembly. This is normal,
if the assembly was not compiled with debugging symbols.

--
HTH,

Kevin Spencer
Microsoft MVP
Professional Numbskull

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

"JV" <ss********@yah oo.com> wrote in message
news:11******** **************@ g10g2000cwb.goo glegroups.com.. .
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\mic rosoft.net\fram ework\v1.1.4322 \mscorlib.dll', No symbols
loaded.
'TestSample': Loaded 'C:\Documents and Settings\jayar\ My
Documents\Visua l Studio
Projects\TestSa mple\TestSample \bin\Debug\Test Sample.exe', Symbols
loaded.
The program '[3320] TestSample.exe' has exited with code 0 (0x0).

May 19 '06 #2
"Kevin Spencer" <ke***@DIESPAMM ERSDIEtakempis. com> wrote:
There is no error in what you posted. "No symbols loaded" simply means that
debugging symbols were not loaded for a specific assembly. This is normal,
if the assembly was not compiled with debugging symbols.


Of course, mscorlib.dll has symbols in mscorlib.pdb, if it's on your
symbol path. The Symbols pack for Windows currently only has
mscorlib.pdb for .NET 1.1. You have to enable symbol server support with
SRV*C:\cygwin\o pt\var\ms-symbols*http://msdl.microsoft.com/download/symbols

or some such to get those symbols. Those symbols are necessary for
low-level debugging such as using SOS in WinDbg / VS8 immediate window.

-- Barry

--
http://barrkel.blogspot.com/
May 19 '06 #3
No Symbols loaded is not an error. It's just informing you that no symbols
were loaded for that dll. That's fine and normal.

From the output shown below, it says that your program started up, loaded
the required dlls, executed itself, and completed. That's what you want.

What did your program do? Did it have a form on it or was it a console
application? If it had a form did the form appear? If it was a console
application and was fairly small, it may have appeared to never have run when
it actually did. To pause it during execution, either throw a breakpoint in
your code, or have the console ask for user input as the last line of code.
It will wait for the user to type before exiting.

Otherwise, post the code that you got and we can look to see if there's any
problems with it. But the point is, don't be nervous by the output that you
pasted below.
"JV" wrote:
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\mic rosoft.net\fram ework\v1.1.4322 \mscorlib.dll', No symbols
loaded.
'TestSample': Loaded 'C:\Documents and Settings\jayar\ My
Documents\Visua l Studio
Projects\TestSa mple\TestSample \bin\Debug\Test Sample.exe', Symbols
loaded.
The program '[3320] TestSample.exe' has exited with code 0 (0x0).

May 19 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
585
by: aerobar2 | last post by:
When I debug my application I get "no symbols loaded" ================= 'DefaultDomain': Loaded 'c:\winnt\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded. 'MHSFire': Loaded 'C:\Documents and Settings\bamason\My Documents\Visual Studio Projects\MHSFire\bin\MHSFire.exe', Symbols loaded. 'MHSFire.exe': Loaded...
2
4381
by: asdf | last post by:
Hello, I was enjoying working in VS for half a year without any problems and now I cannot debug anymore. Without any really reason my Studio tells me that the page that I want to debug has - No symbols loaded. I use VS v1.7.3088 and .NET framework v1.1.4322 SP1. I work with ASP.NET using VB and I'm trying to set a breakpoint on the...
1
8370
by: Sender | last post by:
Everytime I run a form, in the output window I get the following: 'DefaultDomain': Loaded 'c:\winnt\microsoft.net\framework\v1.0.3705\mscorlib.dll', No symbols loaded. 'WindowsApplication5': Loaded 'C:\projects\WindowsApplication5\bin\WindowsApplication5.exe', Symbols loaded.
10
2908
by: RDI | last post by:
What's it mean? My prog runs fine. Then as soon as I press ok or cancel, the following is what's in the output area of the debugger. TIA -- RDI (remove the exclamation from the email address)
0
1068
by: everetjo | last post by:
I am having some trouble running C++ on my laptop. I run the exact same program on my desktop, and then 5 min later on my laptop. On the desktop it works fine, but on the laptop it gives me these error messages. Could you please help me...? 'ps1205.exe': Loaded 'C:\popstudy\ps1205\Debug\ps1205.exe', Symbols loaded. 'ps1205.exe': Loaded...
3
3107
by: JV | last post by:
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...
0
1198
by: shan | last post by:
*** ERROR: Module load completed but symbols could not be loaded for crystaldecisions.web.dll *** ERROR: Module load completed but symbols could not be loaded for crystalenterpriselib.dll *** ERROR: Module load completed but symbols could not be loaded for crystalreportpluginlib.dll *** ERROR: Module load completed but symbols could not be...
4
4882
by: chandu | last post by:
if i want to debug a dotnet application the break point is not going to hit. giving the message as "The break point will not currently hit,No Symbols have been loaded for this document". if i rebuild once then it is working properly,if run directly with F5 it is not going to hit the break point. this problem is not for one applciation,...
0
2983
by: tobias | last post by:
I have written an application, which ran nicely on two different computers until today. No I start my application in the comand window and it just exits without any error message. I started visual studio and tried the debug mode and I get the following error message: 'MultiPH.exe': Loaded 'E:\My Documents\Visual Studio...
0
7468
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7656
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7423
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5329
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3450
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3443
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1884
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1014
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.