java debug命令_Mame DEBUG调试命令详细指令速查大全
Mame DEBUG调试命令详细指令速查大全
General Debugger Commands
do – evaluates the given expression
symlist – lists registered symbols
softreset – executes a soft reset
hardreset – executes a hard reset
print – prints one or more s to the console
printf – prints one or more s to the console using
logerror – outputs one or more s to the error.log
tracelog – outputs one or more s to the trace file using
tracesym – outputs one or more s to the trace file
history – outputs a brief history of visited opcodes (to fix: help missing for this command)
trackpc – visually track visited opcodes [boolean to turn on and off, for the given CPU, clear]
trackmem – record which PC writes to each memory address [boolean to turn on and off, clear]
pcatmem – query which PC wrote to a given memory address for the current CPU
rewind – go back in time by loading the most recent rewind state
statesave – save a state file for the current driver
stateload – load a state file for the current driver
snap – save a screen snapshot.
source – reads commands from and executes them one by one
quit – exits MAME and the debugger
do
symlist []
softreset
hardreset
print [,…]
printf [,[,…]]
logerror [,[,…]]
tracelog [,[,…]]
tracesym [,…]
trackpc [,,]
trackmem [,,]
pcatmem(p/d/i)
[,]rewind[rw]
statesave[ss]
stateload[sl]
snap [[], ]
source
quit
Memory Debugger Commands
dasm – disassemble to the given file
find – search program memory, data memory, or I/O memory for data
dump – dump program memory, data memory, or I/O memory as text
save – save binary program, data, or I/O memory to the given file
load – load binary program memory, data memory, or I/O memory from the given file
map – map logical program, data, or I/O address to physical address and bank
dasm ,
,[,[,]]f[ind][{d|i}]
,[,[,…]]dump[{d|i}] ,
,[,[,[,]]]save[{d|i}] ,
,[,]load[{d|i}] ,
[,,]map[{d|i}]
Breakpoint Debugger Commands
bpset – sets breakpoint at
bpclear – clears a given breakpoint or all if no specified
bpdisable – disables a given breakpoint or all if no specified
bpenable – enables a given breakpoint or all if no specified
bplist – lists all the breakpoints
bp[set]
[,[,]]bp 45678,a0==100,{a0 = ff; g}
bp 3456,1,{printf “A0=%08X\n”,a0; g}
temp0 = 0; bp 567890,++temp0 >= 10
Watchpoint Debugger Commands
wpset – sets program, data, or I/O space watchpoint
wpclear – clears a given watchpoint or all if no specified
wpdisable – disables a given watchpoint or all if no specified
wpenable – enables a given watchpoint or all if no specified
wplist – lists all the watchpoints
wp[{d|i}][set]
,,[,[,]]wp 23456,a,w,wpdata == 1
Registerpoints Debugger Commands
rpset – sets a registerpoint to trigger on
rpclear – clears a given registerpoint or all if no specified
rpdisable – disabled a given registerpoint or all if no specified
rpenable – enables a given registerpoint or all if no specified
rplist – lists all the registerpoints
rp[set] {}[,]]
rp {PC==0150},{temp0++; g}
Execution Debugger Commands
step – single steps for instructions (F11)
over – single steps over instructions (F10)
out – single steps until the current subroutine/exception handler is exited (Shift-F11)
go – resumes execution, sets temp breakpoint at
(F5)gint – resumes execution, setting temp breakpoint if is taken (F7)
gtime – resumes execution until the given delay has elapsed
gvblank – resumes execution, setting temp breakpoint on the next VBLANK (F8)
next – executes until the next CPU switch (F6)
focus – focuses debugger only on
ignore – stops debugging on
observe – resumes debugging on
trace – trace the given CPU to a file (defaults to active CPU)
traceover – trace the given CPU to a file, but skip subroutines (defaults to active CPU)
traceflush – flushes all open trace files.
s[tep] [=1]
o[ver] [=1]
out
g[o] [
]gv[blank]
gi[nt] []
gt[ime]
n[ext]
focus
ignore [[,[,…]]]
observe [[,[,…]]]
trace {|OFF}[,[,[noloop|logerror][,]]]
traceover {|OFF}[,[,[,]]]
traceflush
Debugger Expressions Guide
Numbers
Numbers are prefixed according to their bases:
Hexadecimal (base-16) numbers are prefixed with $ or 0x.
Decimal (base-10) numbers are prefixed with #.
Octal (base-8) numbers are prefixed with 0o.
Binary (base-2) numbers are prefixed with 0b.
Unprefixed numbers are hexadecimal (base-16).
( ) : standard parentheses
++ – : postfix increment/decrement
++ – ~ ! - + b@ w@ d@ q@ : prefix inc/dec, binary NOT, logical NOT, unary +/-, memory access
* / % : multiply, divide, modulus
+ - : add, subtract
<< >> : shift left/right
< <= > >= : less than, less than or equal, greater than, greater than or equal
== != : equal, not equal
& : binary AND
^ : binary XOR
| : binary OR
&& : logical AND
|| : logical OR
= *= /= %= += -= <<= >>= &= |= ^= : assignment
, : separate terms, function parameters
https://docs.mamedev.org/debugger/index.html
java debug命令_Mame DEBUG调试命令详细指令速查大全相关推荐
- linux命令查找软件,linux指令速查器下载
linux指令速查器最新版(linux指令查询)是一款最新免费包含linux命令查询.搜索功能的linux命令查询软件,它介绍了超过300条指令的用法,对各种用法做了详细的中文说明,非常适合于新手玩家 ...
- Linux Kernel - Debug Guide (Linux内核调试指南 )
linux内核调试指南 一些前言 作者前言 知识从哪里来 为什么撰写本文档 为什么需要汇编级调试 ***第一部分:基础知识*** 总纲:内核世界的陷阱 源码阅读的陷阱 代码调试的陷阱 原理理解的陷阱 ...
- Redis常用命令速查
一.Key Key命令速查: 命令 说明 DEL 删除给定的一个或多个 key,不存在的 key 会被忽略,返回值:被删除 key 的数量 DUMP 序列化给定 key,返回被序列化的值,使用 RES ...
- 思科交换机Debug调试命令
下面列出了部分常用的debug 命令,与各协议和功能相关的更具体的debug命令和对其细节的注释,请参见本手册及命令参考手册中的各相关章节.要使用debug功能,需要在特权用户模式下进行配置: 命令 ...
- android 串口调试adb,Android系统 debug 技巧(最全最强adb 串口调试命令)
串口调试命令 debug adb 命令(去掉adb shell即为串口命令) 发送广播 adb shell am broadcast -a com.android.test 打开activity ad ...
- 汇编语言——DeBug 调试命令
Debug命令详细总结 R 命令的使用 H 命令的使用 D 命令的使用 E 命令的使用 F 命令的使用 M 命令的使用 C 命令的使用 S 命令的使用 A 命令的使用 G 命令的使用 U 命令的使用 ...
- 思科生成树命令之debug spanning-tree(本文转载自:www.91ccie.coml
debug spanning-tree 命令:debug spanning-tree no debug spanning-tree 功能:打开MSTP 的调试信息:本命令的no 操作为关闭MSTP 调 ...
- DOSBOX与DEBUG的使用方法及命令
DOSBOX与DEBUG的使用方法及命令 1.DOSBOX的使用(安装DOSBOX,熟练掌握DEBUG的使用) 输入MOUNT D: D:\debug并回车,之后再输入D: 并回车,如下图: 其中MO ...
- 关于使用Dosbox时无法使用masm命令和debug的问题
关于使用Dosbox时无法使用masm命令和debug的问题 本人在2020年5月22日已经崩溃了,于是来这儿写一篇博客 直接正文吧 一般在官网下载的都没有masm.exe和debug.exe,所以我 ...
- 比较全面的gdb调试命令
用GDB调试程序 GDB是一个强大的命令行调试工具.大家知道命令行的强大就是在于,其可以形成执行序 列,形成脚本.UNIX下的软件全是命令行的,这给程序开发提代供了极大的便利,命令行 软件的优势在于 ...
最新文章
- Label 的作用是什么,是怎么用的?
- Git常用命令总结(超实用)
- mysql用if判断关联的表_mysql表连接,子查询以及if判断
- guid主分区表损坏怎么办_轻钢龙骨隔墙怎么办?轻钢龙骨隔墙的做法
- kicad最小布线宽度默认是多少_你想知道建仓库时叉车通道宽度留多少吗?
- Redis是单线程为什么还那么快?
- c++ 结构体初始化_单片机C语言 - 基于结构体的面向对象编程技巧
- adb 增加认证功能
- 面向对象的思考过程 (马特·魏斯费尔德 著)
- CSS:position属性和z_index
- USGS批量下载SRTM1数据
- 如何快速识别图片中的文字?建议使用者两种方法
- Reflector、ReflectorFactory的前世
- 软件测试工程师面经2022-1-22
- 转:《七周成为数据分析师》总结
- SQL语句如何精准查找某一时间段的数据
- 硕士学位答辩PPT制作技巧
- gitbook 安装使用
- 「自控原理」5.1 频率特性及其图示
- c语言编程显示文件无效或损坏,【转】LNK1123: 转换到 COFF 期间失败: 文件无效或损坏...