Open gogo2464 opened 3 years ago
environment variables must be defined before the program like this:
R2_DEBUG_ASSERT=1 gdb --args radare2 -a gb -b 32 -d gdb://localhost:2345
when you get the gdb prompt type the following commands:
run
.. wait until crash ..
i r
bt
up
up
up
...
print str
with this info you may be able to see why this null ptr is reaching the assert and add an if in the caller to avoid this to happen, this is sometimes useful to identify code that is being executed when it shouldnt.
Thank you very much I will try as soon as possible.
EDIT : I think VisualBoy advance nor mgba supports remote debugging server for gameboy color. They do only support that for gameboy advance.
Environment
Description
I do not see the console on the radare2 terminal. I expect to see the console of radare2 on the terminal. I mean the [0x00000000]>.
Test
I also tried with mgba-sdl:
With no asserts (R2_DEBUG_ASSERT=1) you have :
for visual boy advance and you have
for mgba