Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Debugging / April 2006

Tip: Looking for answers? Try searching our database.

Problems with Debugger VS 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mil10@swbell.net - 26 Apr 2006 02:40 GMT
The Visual Studio .NET 2005 debugger is not working with my console
applications.

I have a simple console application that writes a message to the
console window then waits for the user to press a key.  When I press F5

to execute, I get a successful build, but the console window is never
displayed.  When I execute with a breakpoint set, I get the same
results.  The output window displays the message "Skipped loading
symbols. Module is optimized and the debugger option 'Just My Code' is
enabled."  The application works correctly if I execute without
debugging.

I have no problems debugging ASP.NET applications.

I have tried repairing and then reinstalling Visual Studio and .NET 2.0

framework.  No luck.

Any suggestions?

Thanks in advance.
Oleg Starodumov - 27 Apr 2006 18:00 GMT
> The Visual Studio .NET 2005 debugger is not working with my console
> applications.
[quoted text clipped - 7 lines]
> enabled."  The application works correctly if I execute without
> debugging.

Make sure that optimizations are disabled in the project settings
(e.g. for a C# project: Project properties | Build | "Optimize code" <-- uncheck it)

Also consider checking the following setting:
Tools | Options | Debugging | General | "Suppress JIT optimization on module load"

Regards,
Oleg
[VC++ MVP http://www.debuginfo.com/]

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.