]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commit
Breakpoints and watchpoints
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Jan 2013 12:37:43 +0000 (12:37 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Jan 2013 12:37:43 +0000 (12:37 +0000)
commit6b19a6786e080a7f70717b28951bd1d3b07d3fb0
tree887cc0c55f669d3e06e62dce5bdccf4fdf9f6c2c
parentbdcb30672b426abe7d30a687b381782769ce9188
Breakpoints and watchpoints

"Break" on statement: prvm_breakpoint server 12345
"Break" on function: prvm_breakpoint server ClientConnect
Watch for global change: prvm_globalwatchpoint server time
Watch for entity field change: prvm_edictwatchpoint server 1 health

There can be only one of each kind. To clear, do:

prvm_breakpoint server
prvm_globalwatchpoint server
prvm_edictwatchpoint server

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11874 d7cf8633-e32d-0410-b094-e92efae38249
progsvm.h
prvm_cmds.c
prvm_edict.c
prvm_exec.c
prvm_execprogram.h