CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    27

    Changing Project Build Configuration to Debug mode

    From my DLL project I have succeded in making AutoCAD launch by pressing F5 from VB.net IDE (Visual Studio 2008) en route to try to make debugging of the DLL easier ...

    ... however one last obstacle is currently in the way and the obstacle is that for some reason when I hit F5 and AutoCAD is launched
    my breakpoints are not recognized at all... and program runs from start to finish instead of allowing me to debug ...

    It issues a strange message which says "The following module was built either with optimizations enabled or without debug information... to debug this module, change its project build configuration to Debug mode..." and it is all weird because as far as I know I am not in release mode .. but in debug mode (anyhow I am relatively new to Visual Studio .NET so I am thinking that my impression could be that I am in debug mode when in actuality I maybe in release mode)...

    Here is why I think I am debug mode ...

    1. From Solution explorer ... when I click on the Solution Name and view its properties ... the Active config property says Debug|Any CPU

    2. When I look at the properties of the project and look at the compile tab it says that the Configuration is Active (Debug) and under Platform it says Active (Any CPU).

    3. Under the Advanced Compile Options of Compile Tab from project properties ... Enable optimizations is UNchecked ...

    Anyhow with all the settings mentioned above it seems that I have everything okay but then the message above proves otherwise ... and so at this point I know that I am still missing something ... like a setting somewhere... wondering what else do you think am I still missing?

    As additional info...there are seven projects in the solution and it is the main one (the one that I set as startup project) whose properties I refer to in all the paragraphs above.

    Thanks so much for all the kind help you could give....

    Gratefully,
    Matt

  2. #2
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Changing Project Build Configuration to Debug mode

    Doesn't it mention the Web.Config file? That should be the place to add the reference.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Sep 2010
    Posts
    1

    Re: Changing Project Build Configuration to Debug mode

    hey Matt


    is your problem solved, if so can you plz provide some light on the solution.


    reg
    CR.

Tags for this Thread

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