RE: denying access to code

From: Saurabh Nandu (SaurabhNandu_at_discussions.microsoft.com)
Date: 07/10/04


Date: Fri, 9 Jul 2004 22:06:03 -0700

Once you compile the application in *Release* mode, then the *.pdb file is not generated for the application. Hence the CLR Debugger will not display the source code lines.

The source code lines are only displayed when the application has been compiled in Debug mode.

-- 
Regards,
Saurabh Nandu
Master C#, the easy way...
[ www.MasterCSharp.com ]


Relevant Pages

  • Re: Displaying last command executed?
    ... to display the ACTUAL line of text that caused the error? ... but only if the app is compiled in debug mode. ... compile in release mode, optimizations may happen that prevent a 1:1 ... particular line in your source code. ...
    (microsoft.public.dotnet.general)
  • Re: SVGA, LCD, Win CE 6.0 and PB
    ... site addressing display drver issues, not to mention the source code. ... travel down thru Win CE from boot.ini to the place genrating final LCD ... I can have a desktop larger than physical screen window. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: C++/TCL Need Solution to Compile Error c2784
    ... There's always the "Platform SDK" from MSDN if you need the window.h stuff, ... Since I'm using the Command Prompt rather than the GUI to compile the ... I then tried to compile your source code and I kept getting the same ...
    (comp.lang.tcl)
  • Re: SVGA, LCD, Win CE 6.0 and PB
    ... site addressing display drver issues, not to mention the source code. ... travel down thru Win CE from boot.ini to the place genrating final LCD ... I can have a desktop larger than physical screen window. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Debugging Newbie Question
    ... The CLR does not understand this source code and so before it ... ASP.NET, however, ASP.NET will compile your page's source code and cache ... the debugger will have IL and x86 created from ... in release mode assemblies. ...
    (microsoft.public.dotnet.faqs)

Loading