(04-30-2011, 08:16 AM)Zarradeth Wrote: Thanks for the help, it's much appreciated.
I have updated my Memory.mbrk file going by what you have said to-
Code:W 0x88941200
read|write|read8|write8|read16|write16|read32|write32
And I know that my compiled Memory.class file sets useDebuggerMemory to true (it's disabled by default in the svn), but the emulator still isn't breaking on writes to that memory location.
I could honestly live without tracing, but breaking on memory read/writes would help me astronomical amounts.
Sorry, I forgot one additional option "pause":
Code:
read|write|read8|write8|read16|write16|read32|write32|pause
You don't need the readX|writeX options if you are not interested in tracing all the memory reads & writes. E.g., for just a write breakpoint:
Code:
pause
W 0x88941200
Also, open the Debugger window before pressing the "Run" button to have full debugger functionality (the compiler is removing debugger calls when the debugger window is closed).
BTW, you don't have to modify Memory.java, when the file is present, the debugger memory is activated:
Code:
if (useDebuggerMemory || new File(DebuggerMemory.mBrkFilePath).exists()) {
DebuggerMemory.install();
}