~/talk

Writing mruby Debugger

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby]
github:yurie
slides:none on file

Covers the APIs in mruby (mruby 1.0.0) that allow building a debugger for embedded or application-embedded mruby, and explains how to use those APIs to implement a prototype debugger. Focuses on debugging both Ruby and C code in mruby environments where no debugger is provided by default.

AI-written summary · about

  1. 0:00Intro
  2. 0:19Writing mruby debugger
  3. 0:29Outline
  4. 3:35Tools we use now
  5. 4:20Why we need mruby debugger
  6. 5:16mruby sample code
  7. 5:40CRuby debugger
  8. 6:58Pros && Cons
  9. 7:55Functions of debugger Control Execution
  10. 8:44total picture
  11. 13:49GDB/MI
  12. 14:42GDB Missing Manual
  13. 19:171 source line != 1 bytecode
  14. 21:24Eclipse CDT C/C++ Development Tooling
  15. 22:24Eclipse mruby debugger
  16. 23:06Breakpoint Manager
  17. 23:45mruby Variable View
  18. 24:33get list of variables
  19. 25:21get variable info get a list of local variables
  20. 26:08variable list format
  21. 26:30get variable info get a value of variable by name
  22. 27:14Start mruby Debugger
  23. 27:38Stop at Breakpoint
  24. 28:20Change Type of v
  25. 28:43Symbol and Hash
  26. 28:57Show arguments
  27. 29:14create new object
  28. 29:29console
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.