Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Breakpoint in callback onframemove not working (causes hang)?

5 views
Skip to first unread message

huh?

unread,
Jul 2, 2009, 12:36:01 AM7/2/09
to

Not sure where to ask this question so I'll try here....

I created a directx application based of the emptyproject generated code.

As I add my code I set a break point in the function OnFrameMove.

When I run the code using 'Start debugging' the application and the IDE
essentially hang. The application window never shows when I click on the app
in the task bar. The IDE is hung when I switch to the IDE process and clicks
anywhere in the UI are ignored. I have to use the task manager to stop my
directx app and I get a 'send an error' to MS dialog box.

Why can't I set a break point in the callback function and have it break
properly.

To note, if I set the breakpoint in wWinMain function it breaks properly.

Without breaks OnFrameMove is called fine. I can tell because I output to a
log file and the log output is there.

Why am I unable to break in the callback function? Do I need to do something
different or additional?

0 new messages