Crashing at breakpoint (VS08)

JerleMinara

Chieftain
Joined
Apr 20, 2007
Messages
8
Hey folks,
I've started trying to do some work on the SDK (primarily on fixing up the RevolutionDCM component so it actually works in MP!) and whenever Civ4 hits a breakpoint it crashes out instead of halting the thread and kicking it to the VS08 debugger.

Pertinent info.. The debug dll compiled with no issues, symbols load fine, I'm attempting to breakpoint at CvUnit::getExperience(). Using VS08 and the Steam version of Civ 4: Complete Collection (Specifically BTS 3.19).

Has anyone hit this issue and found a solution to it?

Thanks!
 
Getting RevDCM to work in MP is a worthy goal. When you say it "crashes out", what do you see exactly? Have you attached the debugger to the process? Does the game start and play fine with your dll, without trying to set any breakpoints in the debugger?
 
Most likely this means the crash is being caused by the .exe. Most likely this is because you are debugging an old version of RevDCM, or trying to debug one of the many mods that use RevDCM as a base, and thus there is some art bug, or other issue that causes a crash. You should check the RevDCM and RevMP threads in the modpacks forum, and begin debugging those. LoR would also be an usable platform (LoR has already had it's art and XML thouroughly debugged, any issues you find in it will be caused by the RevDCM core) to try to debug MP in; if you're trying to debug any other mod there is no way to know if the issue is one with the RevDCM core or something added in.
 
Back
Top Bottom