Re: How to debug this?



Does that basically mean everything is ok?

Thanks,
Brett
"Stephany Young" <noone@localhost> wrote in message
news:eBj3IebNFHA.3336@xxxxxxxxxxxxxxxxxxxxxxx
> The 'symbols' referred to here are modules with symbolic debbugging
> information in them. They are the 'things' that allow you to single step
> code and set breakpoints in the IDE.
>
> When you compile a program in 'debug' configuration these 'symbols' are
> placed in the <yourapp>.pdb file.
>
> In certain 'debug' versions of VS.NET which are not made available to 'joe
> blow' the 'debug' versions of Framework DLL's are included which allow for
> richer information to be displayed when an exception occurs.
>
> Note that 'No Symbols loaded' is displayed appears when mscorlib.dll is
> loaded but 'Symbols loaded' is displayed when your own client.exe is
> loaded.
>
> These 'symbols' are not related in any way shape or form to unicode or any
> other character set.
>
> If you were of a mind to you could:
>
> write a program that throws an exception
>
> compile it for debug
>
> run the program and note the information displayed when the exception
> is thrown
>
> compile it for release
>
> run the program and note the information displayed when the exception
> is thrown
>
> You will see that the information displayed in 'debug' is much richer
> thatn that displayed in 'release'.
>
> The additional information is derived from the .pdb file which is known as
> the 'symbols'.
>
>
> <snip>
>
>>
>> Back to the application, what does it mean if I get this in my output
>> window everytime the app loads:
>>
>> 'DefaultDomain': Loaded
>> 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols
>> loaded.
>> 'client': Loaded 'C:\Inetpub\VB.NET\client\bin\client.exe', Symbols
>> loaded.
>> 'client.exe': Loaded
>> 'c:\windows\assembly\gac\system.windows.forms\1.0.5000.0__b77a5c561934e089\system.windows.forms.dll',
>> No symbols loaded.
>> 'client.exe': Loaded
>> 'c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll',
>> No symbols loaded.
>> 'client.exe': Loaded
>> 'c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll',
>> No symbols loaded.
>> 'client.exe': Loaded
>> 'c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll',
>> No symbols loaded.
>> 'client.exe': Loaded
>> 'c:\windows\assembly\gac\microsoft.visualbasic\7.0.5000.0__b03f5f7f11d50a3a\microsoft.visualbasic.dll',
>> No symbols loaded.
>>
>> The app seems to run fine despite the "No symbols loaded" lines.
>>
>> Thanks,
>> Brett
>>
>
>


.



Relevant Pages

  • Re: How to debug this?
    ... code and set breakpoints in the IDE. ... When you compile a program in 'debug' configuration these 'symbols' are ... In certain 'debug' versions of VS.NET which are not made available to 'joe ... richer information to be displayed when an exception occurs. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to debug this?
    ... >> When you compile a program in 'debug' configuration these 'symbols' are ... >> allow for richer information to be displayed when an exception occurs. ... >> is thrown ...
    (microsoft.public.dotnet.languages.vb)
  • RE: Event Viewer
    ... compile with debug, ... debug on in the web.config. ... Exception type: InvalidCastException ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: NEWBIE: Not sure why i am getting this type of error
    ... > Wayne... ... problems both during compile and when run. ... I'll stick the output from my debug window below. ... exception: CNotSupportedException @ 0x0012f82c. ...
    (microsoft.public.vc.mfc)
  • Re: Debug Vs Release
    ... > If I compile that code in debug mode then dissassemble the EXE, ... > private static void Main(stringargs) ...
    (microsoft.public.dotnet.framework.aspnet)

Loading