@@ -36,20 +36,33 @@ to test.
3636
3737- The form and syntax of the logging statements target the language at hand
3838(e.g., use ` printf() ` in C/C++ but ` puts() ` in Ruby)
39- Currently the following languages are supported:
40-
41- + C
42- + C++
43- + Fortran
44- + Haskell
45- + Java
46- + Javascript
47- + PHP
48- + Python
49- + R
50- + Ruby
51- + Shell
52- + Vim
39+
40+ Currently the following languages are supported. First column corresponds to the
41+ standard debugging string while the second to the case of debugging for a
42+ specific variable.
43+
44+ ``` c++
45+ // Debug String
46+ std::cout << " [a.c:4] DEBUGGING STRING ==> " << 0 << std::endl;
47+
48+ // Debug Variable
49+ std::cout << " [a.c:4] a_variable: " << a_variable << std::endl;
50+ ```
51+
52+ Lang | Debug String | Debug Variable
53+ --- | --- | ---
54+ C | :heavy_check_mark : | :x :
55+ C++ | :heavy_check_mark : | :x :
56+ Fortran | :heavy_check_mark : | :x :
57+ Haskell | :heavy_check_mark : | :heavy_check_mark :
58+ Java | :heavy_check_mark : | :heavy_check_mark :
59+ Javascript | :heavy_check_mark : | :x :
60+ PHP | :heavy_check_mark : | :heavy_check_mark :
61+ Python | :heavy_check_mark : | :heavy_check_mark :
62+ R | :heavy_check_mark : | :heavy_check_mark :
63+ Ruby | :heavy_check_mark : | :x :
64+ Shell | :heavy_check_mark : | :heavy_check_mark :
65+ Vim | :heavy_check_mark : | :heavy_check_mark :
5366
5467- Support for debugging variable expressions e.g., the values of variables or
5568 arbitrary expressions at certain parts of your code
@@ -126,17 +139,18 @@ vim.org](https://vim.sourceforge.io/scripts/script.php?script_id=5634)
126139
127140- [ ] Method to delete all the debugging strings in all "touched" buffers
128141- [ ] Method to delete all the debugging strings in current buffer
129- - [ ] Method to print name and contents of a variable
130- - [ ] Add option for variable debugging
142+ - [x ] Method to print name and contents of a variable
143+ - [ ] Add option for variable debugging in rest of langs
131144- [ ] Make the counter buffer-specific
132145- [ ] Escape double single quotes vimscript variable printing
133- - [ ] Append to current line if that is empty
146+ - [x ] Append to current line if that is empty
134147- [x] Support repeat.vim
135148- [ ] Use an assertion module
136149- [x] Use vader.vim for TDD
137150- [ ] Extend vader support for rest of languages
138151- [ ] Use travis for CI
139152- [x] Bug with changing the filename of the current file
140- - [ ] Make vim-repeat dependency optional
153+ - [x ] Make vim-repeat dependency optional
141154- [ ] Turn supported languages into a table - what do we support in which
142155 language?
156+ - [x] Make vim-repeat dependency optional
0 commit comments