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 / C++ / MFC
  4. debugging issues

debugging issues

Scheduled Pinned Locked Moved C / C++ / MFC
c++graphicsdebugginggame-devhelp
3 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.
  • R Offline
    R Offline
    Rajveer
    wrote on last edited by
    #1

    I just started with visual C++. I'm writing a graphics program using openGL in an MDI application. But to make my life easier, I just took the example on this site which draws openGL graphics with MDI. I just deleted all the functions, globals, etc. that I didn't want. But now I'm starting to read up on some debugging stuff (breakpoints and single stepping). When I insert a breakpoint and then say "go" to debug I get a message box that my .exe doesn't contain debugging information. When I press OK, I get this message box: One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program. And then some dissambly file comes up. I have a feeling all this has something to do with the fact that I used someone else's demo instead of starting from scratch with the necessary settings. Is there some way I can fix it so it will let me debug?

    N J 2 Replies Last reply
    0
    • R Rajveer

      I just started with visual C++. I'm writing a graphics program using openGL in an MDI application. But to make my life easier, I just took the example on this site which draws openGL graphics with MDI. I just deleted all the functions, globals, etc. that I didn't want. But now I'm starting to read up on some debugging stuff (breakpoints and single stepping). When I insert a breakpoint and then say "go" to debug I get a message box that my .exe doesn't contain debugging information. When I press OK, I get this message box: One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program. And then some dissambly file comes up. I have a feeling all this has something to do with the fact that I used someone else's demo instead of starting from scratch with the necessary settings. Is there some way I can fix it so it will let me debug?

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #2

      You active configuration is currently release mode. Set this to debug mode, please. Nish _I am looking for a free racing game. Old style racing game without any complicated 3D stuff. Around 4 MB download. If anyone has such a game, please inform me._

      1 Reply Last reply
      0
      • R Rajveer

        I just started with visual C++. I'm writing a graphics program using openGL in an MDI application. But to make my life easier, I just took the example on this site which draws openGL graphics with MDI. I just deleted all the functions, globals, etc. that I didn't want. But now I'm starting to read up on some debugging stuff (breakpoints and single stepping). When I insert a breakpoint and then say "go" to debug I get a message box that my .exe doesn't contain debugging information. When I press OK, I get this message box: One or more breakpoints cannot be set and have been disabled. Execution will stop at the beginning of the program. And then some dissambly file comes up. I have a feeling all this has something to do with the fact that I used someone else's demo instead of starting from scratch with the necessary settings. Is there some way I can fix it so it will let me debug?

        J Offline
        J Offline
        Jonathan de Halleux
        wrote on last edited by
        #3

        Are you trying to debug the release build ? Try debugging the "Debug" build. Jonathan de Halleux, Belgium.

        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