信息


  • backtrace, bt: 打印当前执行帧的回溯
  • list(5): 列出脚本源代码的 5 行上下文(前后各 5 行)
  • watch(expr): 将表达式添加到监视列表
  • unwatch(expr): 从监视列表中删除表达式
  • watchers: 列出所有监视器及其值(在每个断点上自动列出)
  • repl: 打开调试器的交互式解释器,以在调试脚本的上下文中进行评估
  • exec expr, p expr: 在调试脚本的上下文中执行表达式并打印它的值
  • backtrace, bt: Print backtrace of current execution frame
  • list(5): List scripts source code with 5 line context (5 lines before and after)
  • watch(expr): Add expression to watch list
  • unwatch(expr): Remove expression from watch list
  • watchers: List all watchers and their values (automatically listed on each breakpoint)
  • repl: Open debugger's repl for evaluation in debugging script's context
  • exec expr, p expr: Execute an expression in debugging script's context and print its value