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调试命令详细指令速查大全相关推荐

  1. linux命令查找软件,linux指令速查器下载

    linux指令速查器最新版(linux指令查询)是一款最新免费包含linux命令查询.搜索功能的linux命令查询软件,它介绍了超过300条指令的用法,对各种用法做了详细的中文说明,非常适合于新手玩家 ...

  2. Linux Kernel - Debug Guide (Linux内核调试指南 )

    linux内核调试指南 一些前言 作者前言 知识从哪里来 为什么撰写本文档 为什么需要汇编级调试 ***第一部分:基础知识*** 总纲:内核世界的陷阱 源码阅读的陷阱 代码调试的陷阱 原理理解的陷阱 ...

  3. Redis常用命令速查

    一.Key Key命令速查: 命令 说明 DEL 删除给定的一个或多个 key,不存在的 key 会被忽略,返回值:被删除 key 的数量 DUMP 序列化给定 key,返回被序列化的值,使用 RES ...

  4. 思科交换机Debug调试命令

    下面列出了部分常用的debug 命令,与各协议和功能相关的更具体的debug命令和对其细节的注释,请参见本手册及命令参考手册中的各相关章节.要使用debug功能,需要在特权用户模式下进行配置: 命令 ...

  5. android 串口调试adb,Android系统 debug 技巧(最全最强adb 串口调试命令)

    串口调试命令 debug adb 命令(去掉adb shell即为串口命令) 发送广播 adb shell am broadcast -a com.android.test 打开activity ad ...

  6. 汇编语言——DeBug 调试命令

    Debug命令详细总结 R 命令的使用 H 命令的使用 D 命令的使用 E 命令的使用 F 命令的使用 M 命令的使用 C 命令的使用 S 命令的使用 A 命令的使用 G 命令的使用 U 命令的使用 ...

  7. 思科生成树命令之debug spanning-tree(本文转载自:www.91ccie.coml

    debug spanning-tree 命令:debug spanning-tree no debug spanning-tree 功能:打开MSTP 的调试信息:本命令的no 操作为关闭MSTP 调 ...

  8. DOSBOX与DEBUG的使用方法及命令

    DOSBOX与DEBUG的使用方法及命令 1.DOSBOX的使用(安装DOSBOX,熟练掌握DEBUG的使用) 输入MOUNT D: D:\debug并回车,之后再输入D: 并回车,如下图: 其中MO ...

  9. 关于使用Dosbox时无法使用masm命令和debug的问题

    关于使用Dosbox时无法使用masm命令和debug的问题 本人在2020年5月22日已经崩溃了,于是来这儿写一篇博客 直接正文吧 一般在官网下载的都没有masm.exe和debug.exe,所以我 ...

  10. 比较全面的gdb调试命令

    用GDB调试程序  GDB是一个强大的命令行调试工具.大家知道命令行的强大就是在于,其可以形成执行序 列,形成脚本.UNIX下的软件全是命令行的,这给程序开发提代供了极大的便利,命令行 软件的优势在于 ...

最新文章

  1. 【Codeforces】908B New Year and Buggy Bot(暴力+全排列)
  2. 骄傲的代价_JAVA
  3. 搜狗浏览器挡住了任务栏,上下显示不全
  4. 优化算法 sklearn lr
  5. 博士申请 | 哥本哈根大学招收机器学习和信息检索全奖博士生(年薪34万)
  6. 魔术方法php重定向,PHP魔术方法__get()
  7. 让我们的标签语义化成为一种习惯好处多多
  8. CUBA平台–用于快速应用程序开发的开源Java框架
  9. AUTOSAR从入门到精通100讲(六)-AUTOSAR中的PostBuild Data Set Generation Phase
  10. 2018最火机器学习项目盘点—CV项目领冠榜单
  11. 【Java】Base64编码与解码
  12. linux进程的创建、执行和消亡
  13. vue-cli2.9.6更新不了问题
  14. MATLAB plot画线的颜色设定
  15. thinkphp框架复习知识点
  16. 关于迪文屏T5L使用C51编程
  17. 信号量(semaphore)解决司机与售票员问题
  18. 外媒评出世界十大地质奇迹
  19. 五大浏览器js 判断IE、Firefox、Safari、Chrome、Opera
  20. ## python 统计素数并求和

热门文章

  1. 中国176个AAAAA级景区,存起来吧!下一站你去哪里?
  2. 【独行秀才】macOS Monterey 12.0 Beta4(21A5294g)原版镜像
  3. 初步了解JS的作用域
  4. ArcGIS10.2 安装教程
  5. 统一身份认证(CAS)中文文档 请多指教
  6. 程序员为啥更赚钱?用Python做副业增长上万,躺赚
  7. Tomcat服务器response header 200 OK问题
  8. Facebook登录的时候验证邮箱
  9. 考研数学:常见的初等函数求导公式以及其对应的积分公式
  10. matlab开普勒方程求地球偏心距,第二章-开普勒方程PPT课件