|
-
February 9th, 2008, 09:37 AM
#1
HELP PLEASE, I can't debug under vs2005
Hi Guys.
I'm new to Visual Studio 2005.
When I try to debug my application using a break point, the compiler tells me that "The breakpoint will not currently be hit. No symbols have been loaded for this document"
I think I need to download Windows Symbol Packages and set it up in Options->Debugging menu.
But I don't know which version should I download if at all.
http://www.microsoft.com/whdc/devtoo...symbolpkg.mspx
Please help me gurus!!!!
-
February 9th, 2008, 10:07 AM
#2
Re: HELP PLEASE, I can't debug under vs2005
Those symbols shouldn't be neccessary for debugging your own code. Are you sure that the code is built for debug? Are you sure the code to debug is present (removed by an #ifdef maybe)?
-
February 9th, 2008, 10:27 AM
#3
Re: HELP PLEASE, I can't debug under vs2005
Thank you for your reply.
I am using Debug mode, and I didn't include any #ifdef.
However I did install VS2005 2 days ago.
Maybe the way I've build the project??
The Code I am now using I've build as follows:
New->Project->Win32 - > Win32 Console Application.
That I added -> New Item -> Utility -> Text file.
Then I convert the txt file to .c extension (it's a c program)
and then I wrote the code.
Many thanks
-
February 9th, 2008, 05:05 PM
#4
Re: HELP PLEASE, I can't debug under vs2005
Haven't experienced this myself but maybe that's the reason even though it seems odd. Any C-file included in project should be possible to run in debugger.
-
February 11th, 2008, 02:52 PM
#5
Re: HELP PLEASE, I can't debug under vs2005
Thank you S.M.A
Problem solved!
I've used an empty project to build my code and I didn't know I had to configure all the properties of the project to make it debug.
When I've build a WIN32 Console application it all worked just fine.
Sorry for my previews post. It's my mistake
Thank you for your help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|