Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haya14busa/vim-debugger

:feet: Vim script debugger :bug:
https://github.com/haya14busa/vim-debugger

Last synced: about 3 hours ago
JSON representation

:feet: Vim script debugger :bug:

Awesome Lists containing this project

README

        

:bug: vim-debugger
==================

vim-debugger is a Vim script debugger.

*[The APIs might change]*

:debug improved
---------------
![https://gyazo.com/926142136e0429f032efabbc8e5e3c6c](https://i.gyazo.com/926142136e0429f032efabbc8e5e3c6c.png)

### Commands

| command | description |
| ------- | ----------- |
| `:DebugOn` | turn on debugging commands |
| `:Debugger` | add breakpoint |
| `>Current` | show current line and function in debug-mode with syntax highlight |
| `>Break {lnum}` | add break point to {lnum} in a current function |
| `>File` | show current file in debug-mode |
| `>SID` | show `` in debug-mode |
| `>DebugHelp` | show help for debug-mode |
| `>Sfuncs` | list script-local functions in debug-mode |

:feet: StackTrace
-----------------

```vim
:StackTrace function vitalizer#command[37]..vitalizer#vitalize[69]..210_search_dependence[20]..211_import[11]..211__import[20]..211__build_module[18]..218__vital_loaded[2]..211_import[11]..211__import: line 6:
```

![https://gyazo.com/e3f70551a4ce1ab1f614542a4fac0921](https://i.gyazo.com/e3f70551a4ce1ab1f614542a4fac0921.png)

| command | description |
| ------- | ----------- |
| `:StackTrace {throwpoint}` | show stacktrace |
| `:CallStack {id}` | get callstack and save it as {id} |
| `:CallStackReport {id}` | report {id} callstack |