mirror of https://github.com/stella-emu/stella.git
![]() Ladies and gentlemen, we have working conditional breakpoints! And they're *fast*! The command to use is "breakif". It takes one argument, the condition. You can use curly braces if you want to include spaces in your arguments (they don't do anything except help readability). On the Athlon 2100, I was able to run the emulator at full speed, using 100% of the CPU, with *20* expressions of the form: breakif a==101||a==102||a==103||a==104||a==105 Around 25 expressions, the game started getting noticeably jerky, but was still playable. With 1 to 5 expressions, there was *no* noticeable increase in CPU usage! Actually, this can probably be improved on: I used gcc 3.2.2 for this. With 3.3.x or 4.0.x, it should be even faster. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@665 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba |
||
---|---|---|
CVSROOT | ||
stella |