Dark GDK and Visual C++ 2008 Express Problem: Cant step over code (F10 key) or hit Breakpoints RRS feed

  • 问题

  • Hi all, 

    I just installed DarkGDK and everything required to get it working on VS C++ 2008 Express. I opened a new project of type DarkGDK - 2D Game and the code for the base example provided compiled and the project built fine. I put some breakpoints in the source code, but when I hit F5, the program runs real fast without hitting any of the breakpoints. The program goes into debug mode for a second, then goes back to normal; a window quickly flashes up and dissappears, and the output menu says:

    The program '[10036] Dark GDK - 2D Game1.exe: Native' has exited with code 0 (0x0).

    Also when I try to step over the code one line at a time with F10, a dialogue box comes up and says:

    "There is no source code available for the current location."

    I can then click Ok or a button that says "Show Disassembly." After this, I have to hit F5 to exit debugging mode (still not hitting any of my breakpoints).
    So can anyone tell me what they think the problem might be? I'm pretty new to programming, so I am stumped. Thanks in advance.

    2013年3月5日 2:01