CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2005
    Posts
    445

    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!!!!

  2. #2
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    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)?

  3. #3
    Join Date
    Dec 2005
    Posts
    445

    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

  4. #4
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    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.

  5. #5
    Join Date
    Dec 2005
    Posts
    445

    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
  •  





Click Here to Expand Forum to Full Width

Featured