【文件属性】:
文件名称:debug_inspector:MRI 2.0 debug_inspector API的Ruby包装器
文件大小:10KB
文件格式:ZIP
更新时间:2021-05-04 02:45:55
Ruby
debug_inspector
MRI 2.0+ debug_inspector API的Ruby包装器
debug_inspector C扩展和API是由 Sasada设计和构建的,该项目只是他的工作的结晶。
笔记:
不要在调试情况下使用此库。
该库使用了MRI 2.0.0中新增的调试检查器API。
仅适用于MRI 2和MRI3。要求在不受支持的Ruby上执行此操作将导致无操作
用法
require 'debug_inspector'
# Open debug context
# Passed `dc' is only active in a block
RubyVM :: DebugInspector . open { | dc |
# backtrace locations (returns an array of Thread::Backtrace::Location
【文件预览】:
debug_inspector-master
----.gitignore(127B)
----ext()
--------debug_inspector()
----bin()
--------setup(131B)
--------console(350B)
----debug_inspector.gemspec(2KB)
----.github()
--------workflows()
----README.md(3KB)
----lib()
--------debug_inspector.rb(649B)
--------rubyvm()
----Gemfile(147B)
----Rakefile(516B)
----test()
--------basic_test.rb(812B)
--------test_helper.rb(109B)