Skip to main content
gamedev.net
🔒 Locked

Debugging.

Started by mrmrcoleman Mar 26, 2004 at 10:49 PM 2 replies 550+ views
Original Post
mrmrcoleman
mrmrcoleman
Hello. I am trying to debug my program in VC++6 but I keep running into the same problem. When I step into this line:
ZeroMemory(&GlobalDirect3D9Present, sizeof(GlobalDirect3D9Present);
I get a dialogue box headed ''Find Source'' asking me to provide a file called memset.asm, but I cannot locate this file on my computer. Any ideas? Thanks in advance. Mark Coleman
DukeAtreides076
DukeAtreides076
Just punch F10 to skip over the line. Since you dont have the source code for memset, which ZeroMemory calls, you cant step into the function.
Beelzebub
Beelzebub
If you re-run the setup for VC and tell it to install the source code for the C run time library you''ll be able to see the source code for builtin library functions. Most of the time you''ll be better off stepping over such functions, but sometimes it can be useful to have the source code - for tracking bugs for example.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.