view interps/cfunge/cfunge-src/etc/example.gdbinit @ 11955:33bdabf3e0d4 draft

<wib_jonas> fetch share/mtg/MagicCompRules_20191004.txt https://media.wizards.com/2019/downloads/MagicCompRules%2020191004.txt
author HackEso <hackeso@esolangs.org>
date Tue, 01 Oct 2019 08:29:21 +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