view interps/cfunge/cfunge-src/etc/example.gdbinit @ 7988:8381c3afafa7

<b_jonas> learn RoboRosewater is generating random Magic: the Gathering cards, see https://mobile.twitter.com/roborosewater
author HackBot
date Sun, 08 May 2016 19:47:00 +0000
parents 859f9b4339e6
children
line wrap: on
line source

define tr9
set variable setting_trace_level=9
end

document tr9
Set funge trace level to 9
end


define brkcell
break execute_instruction if (ip->position.x == $arg0) && (ip->position.y == $arg1)
end

document brkcell
Break when any IP reach that specific cell.
brkcell x y
end


define brkinst
break execute_instruction if (opcode == $arg0)
end

document brkinst
Break when the given instruction is executed.
brkinst 'char'
end