Page 1 of 1

Posted: November 21st, 2012, 5:10 pm
by twallan

When did you get that impression ?

My approach is totally brute force. In the case of mods, I remove half, and half again until I narrow down which one is causing the problem.

Then I remove half the code from the mod, and half again, until I narrow down where the hang/crash is occurring.

After that, I add a serious of insanity logs (logs that are dumped to file immediately) to the code to narrow it down to whatever section is causing the grief.

It is like debugging on UNIX using "printf" statements that dump directly to the console window. :)

Posted: November 21st, 2012, 5:11 pm
by twallan

(serious -> series)

Well, they are serious logs, but not what I meant to write. :P

Posted: November 21st, 2012, 5:30 pm
by twallan

In that case, I changed the "Have Baby" interaction in Woohooer and added the various logging, and waited for it to hang.

Then copied the contents of the function it got stuck in, made a custom copy, and added the logging to it.

Repeated that process, until I reached the section where the issue lay.

Nothing special. :)