Current Events > I have a bug that I can't debug because debugging makes the bug disappear

Topic List
Page List: 1
EverHeardOfIt
10/17/17 12:30:11 PM
#1:


lol
... Copied to Clipboard!
MabusIncarnate
10/17/17 12:32:17 PM
#2:


Have you tried Raid?
---
Ten million dollars on a losing campaign
Twenty million starving and writhing in pain
... Copied to Clipboard!
warlock7735
10/17/17 12:33:58 PM
#3:


... Copied to Clipboard!
Foppe
10/17/17 12:40:07 PM
#4:


So run your code in debug mode, problem solved.
---
GameFAQs isn't going to be merged in with GameSpot or any other site. We're not going to strip out the soul of the site. -CJayC
... Copied to Clipboard!
EverHeardOfIt
10/17/17 12:46:10 PM
#5:


Foppe posted...
So run your code in debug mode, problem solved.

That's the point, debug mode causes my program to run too slow for the bug to appear
... Copied to Clipboard!
warlock7735
10/17/17 12:49:44 PM
#6:


You're dealing with a race condition. Look at your asynchronous callbacks and set breakpoints on the effects and work backwards. If it's still not showing up, get hackish and put in some timeouts as a dumb fix until you sort out your promises
---
... Copied to Clipboard!
Topic List
Page List: 1