Skip to main content
GameDev.net gamedev.net
🔒 Locked

Windows Error message despite no error

Started by bschneid Jan 12, 2007 at 9:21 PM 5 replies 1k views
Original Post
bschneid
bschneid
I recently created just a simple application which uses SDL to create a window and render the frame rate to the window using the SFont library. That is all it does at the moment. The program runs fine (after a few hours of noobish hacking), but for some reason every time I close it an error message pops up saying "(program) has encountered a problem and needs to close. We are sorry for the inconvenience, " and has the option to send an error report or not - you know the message. My question is what could be causing this to happen? Everything runs until I terminate it, so there really is no error causing my application to close... (running Windows XP)
joanusdmentia
joanusdmentia
Perhaps you're trying to delete something twice. Have you tried running it with the debugger?
"Voilà! In view, a humble vaudevillian veteran, cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valorous visitation of a bygone vexation stands vivified, and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition. The nly verdict is vengeance; a vendett o
Ravuya
Ravuya
Run your application in a debugger and see when it crashes, instead of playing guess and check.
bschneid
bschneid
Well, see for some reason when I try to debug it with the dev-c++ debugger I can't add breakpoints, watch variables, backtrace, etc. so its basically useless. After I posted this I went looking for a good debugger, but couldn't find anything. Are there any nice free debuggers on the net?
MaulingMonkey
MaulingMonkey
I use Visual Studio 2005. The Express Edition, available for free, can be found by googling keywords found in this and the previous sentance.
Colin Jeanne
Colin Jeanne
I havent used Dev-C++ in a long time but if I recall correctly it uses gdb as a debugger. gdb is a very good debugger. What problems were you having with setting breakpoints and such?
bschneid
bschneid
Well I can set breakpoints, but it acts as though they aren't there. It doesn't matter where I put them, it just executes. As far as watching variables, I click on watch variable to add it to the list, and nothing happens. Also, I believe values are shown when you hover over variables, but I had no such luck. The "backtrace" tab shows nothing, and the "output" tab rarely shows anything either. I tried re-installing dev-c++ but it didn't change anything. Could I use gdb by itself outside of the IDE?

Topic Locked

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

Sign in to reply to this topic.