Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Setting Debugger Mode

Setting Debugger Mode

Scheduled Pinned Locked Moved C#
debuggingquestioncsharpvisual-studiocom
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Beringer
    wrote on last edited by
    #1

    Hello, I didn't see a forum specific for Visual C# so I am asking this question here. I am getting the following error when compiling: "The following module was built either with optimizations enabled or without debug information: myfile To debug this module, change its project build configuration to Debug mode..." I am using Visual C# 2005 Express and when I compare the build options tab under the project's properties to the options presented in the link below http://msdn2.microsoft.com/en-us/library/027febhz(VS.80).aspx[^] The build tab in Express doesn't have the "Configuration" list mentioned in the above link. Can someone point me in the right direction to configuring the build process in Express to allow "Debug Mode"? Thanks in advance, Eric

    C 1 Reply Last reply
    0
    • B Beringer

      Hello, I didn't see a forum specific for Visual C# so I am asking this question here. I am getting the following error when compiling: "The following module was built either with optimizations enabled or without debug information: myfile To debug this module, change its project build configuration to Debug mode..." I am using Visual C# 2005 Express and when I compare the build options tab under the project's properties to the options presented in the link below http://msdn2.microsoft.com/en-us/library/027febhz(VS.80).aspx[^] The build tab in Express doesn't have the "Configuration" list mentioned in the above link. Can someone point me in the right direction to configuring the build process in Express to allow "Debug Mode"? Thanks in advance, Eric

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Beringer wrote:

      I didn't see a forum specific for Visual C# so I am asking this question here.

      :confused: This is the C# forum.

      Beringer wrote:

      The build tab in Express doesn't have the "Configuration" list mentioned in the above link.

      Is there not a drop down on the menu bar with Debug and Release options in them? (and possibly others if you set them up, but that's doubtful if you are asking this question). Change the value of that drop down so it says Debug. Then rebuild your solution. I don't have C# Express in front of me so I can't see exactly where things are (it might be moved from other Visual Studio editions)


      Upcoming Scottish Developers events: * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

      B 1 Reply Last reply
      0
      • C Colin Angus Mackay

        Beringer wrote:

        I didn't see a forum specific for Visual C# so I am asking this question here.

        :confused: This is the C# forum.

        Beringer wrote:

        The build tab in Express doesn't have the "Configuration" list mentioned in the above link.

        Is there not a drop down on the menu bar with Debug and Release options in them? (and possibly others if you set them up, but that's doubtful if you are asking this question). Change the value of that drop down so it says Debug. Then rebuild your solution. I don't have C# Express in front of me so I can't see exactly where things are (it might be moved from other Visual Studio editions)


        Upcoming Scottish Developers events: * Glasgow: Tell us what you want to see in 2007 My: Website | Blog | Photos

        B Offline
        B Offline
        Beringer
        wrote on last edited by
        #3

        Thanks for the response. I suppose I should have said no forum for the Visual C# IDE :). I have two drop down's on the menu bar with the following tool tip text: "Solution Configurations" and "Solution Platforms". The Configurations one seems like the right one but I can't findout. Both drop down's are disabled and I can't find out how to enable them. I should also add that this "Debug" issue only occurs in a project I imported into my solution and didn't write from the begining. All the other projects in my solution seem to generate debug code because when I use those modules I can actually use the debuger with them and I don't get he warning mentioned earlier. Thanks in advance.

        L 1 Reply Last reply
        0
        • B Beringer

          Thanks for the response. I suppose I should have said no forum for the Visual C# IDE :). I have two drop down's on the menu bar with the following tool tip text: "Solution Configurations" and "Solution Platforms". The Configurations one seems like the right one but I can't findout. Both drop down's are disabled and I can't find out how to enable them. I should also add that this "Debug" issue only occurs in a project I imported into my solution and didn't write from the begining. All the other projects in my solution seem to generate debug code because when I use those modules I can actually use the debuger with them and I don't get he warning mentioned earlier. Thanks in advance.

          L Offline
          L Offline
          Larantz
          wrote on last edited by
          #4

          As far as I know, that's a normal message when you debug a solution that's referencing and using a library which has no debug information. I always get it on my solutions when I reference a 'release' built library. It just means that you don't get access to debugging information when the code for that library is executed. All the other debugging information should be displayed as normal. Best regards! -Larantz-

          for those about to code, we salute you
          http://www.tellus-software.com

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups