kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

expected (2091B)


      1 kit dbg — 'h' for help, 'q' to quit
      2 Commands (abbrev. shown):
      3   h, help                     show this help
      4   q, quit                     exit (Ctrl-D also works)
      5   :language c|asm|wasm/wat
      6                               select language for jit/expr input
      7   r, run                      start fresh execution at entry
      8   c, cont                     continue after a stop
      9   s, step                     step to next source line (into calls)
     10   si, stepi                   single-step one instruction
     11   n, next                     step to next source line (over calls)
     12   finish                      run until current frame returns
     13   jit [LANG|NAME] { ... }     compile and append a language snippet
     14   { ... }                     same as jit { ... }
     15   edit [LANG|NAME], e [...]   edit and append a language snippet
     16   Ctrl-G                      edit the current input line in $EDITOR
     17   expr EXPR | expr { ... }    compile and call an expression thunk
     18   EXPR                        same as expr EXPR
     19                               LANG defaults to the selected language
     20   jump ADDR                   set PC to ADDR (no resume)
     21   bt, backtrace               print stack trace with arguments
     22   b LOC                       set breakpoint at LOC:
     23                                  0xADDR | sym[+off] | file.c:line
     24   ignore N COUNT              skip the next COUNT hits of bp N
     25   d N, delete N               delete breakpoint N
     26   enable N | disable N        toggle breakpoint N
     27   p NAME                      print variable / global
     28   set NAME VALUE              write VALUE into NAME
     29   x ADDR [count]              examine memory (count bytes, default 16)
     30   disasm [ADDR] [count], x/i  disassemble at PC or ADDR
     31   list FILE:LINE, l FILE:LINE source listing around FILE:LINE
     32   info b                      list breakpoints
     33   info reg, info registers    dump registers
     34   info locals                 list locals at current PC
     35   info args                   list args at current PC
     36   info functions [PATTERN]    list JIT functions matching PATTERN
     37   info variables [PATTERN]    list JIT globals  matching PATTERN