Skip to content

Commit 0dbb409

Browse files
bergercookienikoskoukis-slamcore
authored andcommitted
Update README.md
1 parent 60bed5f commit 0dbb409

1 file changed

Lines changed: 38 additions & 24 deletions

File tree

README.md

Lines changed: 38 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -45,30 +45,33 @@ Currently the following languages are supported. First column corresponds to the
4545
standard debugging string while the second to the case of debugging for a
4646
specific variable.
4747

48-
```c++
49-
// Debug String
50-
std::cout << "[a.c:4] DEBUGGING STRING ==> " << 0 << std::endl;
51-
52-
// Debug Variable
53-
std::cout << "[a.c:4] a_variable: " << a_variable << std::endl;
54-
```
55-
56-
Lang | Debug String | Debug Variable
57-
--- | --- | ---
58-
C | :heavy_check_mark: | :heavy_check_mark:
59-
C++ | :heavy_check_mark: | :heavy_check_mark:
60-
CMake | :heavy_check_mark: | :heavy_check_mark:
61-
Fortran | :heavy_check_mark: | :x:
62-
Haskell | :heavy_check_mark: | :heavy_check_mark:
63-
Java | :heavy_check_mark: | :heavy_check_mark:
64-
Javascript | :heavy_check_mark: | :x:
65-
PHP | :heavy_check_mark: | :heavy_check_mark:
66-
Python | :heavy_check_mark: | :heavy_check_mark:
67-
R | :heavy_check_mark: | :heavy_check_mark:
68-
Ruby | :heavy_check_mark: | :heavy_check_mark:
69-
Rust | :heavy_check_mark: | :heavy_check_mark:
70-
Shell | :heavy_check_mark: | :heavy_check_mark:
71-
Vim | :heavy_check_mark: | :heavy_check_mark:
48+
Lang | Debug String | Debug Variable
49+
--- | --- | ---
50+
Awk | :x: | :x:
51+
C | :heavy_check_mark: | :heavy_check_mark:
52+
C# | :x: | :x:
53+
C++ | :heavy_check_mark: | :heavy_check_mark:
54+
CMake | :heavy_check_mark: | :heavy_check_mark:
55+
D | :x: | :x:
56+
Fortran | :heavy_check_mark: | :heavy_check_mark:
57+
Go | :x: | :x:
58+
Haskell | :heavy_check_mark: | :heavy_check_mark:
59+
Java | :heavy_check_mark: | :heavy_check_mark:
60+
Javascript | :heavy_check_mark: | :x:
61+
Julia | :x: | :x:
62+
Lua | :x: | :x:
63+
Matlab | :x: | :x:
64+
PHP | :heavy_check_mark: | :heavy_check_mark:
65+
Perl | :x: | :x:
66+
Python | :heavy_check_mark: | :heavy_check_mark:
67+
R | :heavy_check_mark: | :heavy_check_mark:
68+
Ruby | :heavy_check_mark: | :heavy_check_mark:
69+
Rust | :heavy_check_mark: | :heavy_check_mark:
70+
Scala | :x: | :x:
71+
Shell | :heavy_check_mark: | :heavy_check_mark:
72+
Swift | :x: | :x:
73+
Vim | :heavy_check_mark: | :heavy_check_mark:
74+
Visual Basic | :x: | :x:
7275

7376
- Support for debugging variable expressions e.g., the values of variables or
7477
arbitrary expressions at certain parts of your code
@@ -91,6 +94,17 @@ nnoremap <a-second-key-combination> <Plug>DumpDebugStringExpr
9194

9295
Default mappings are: `<Leader>ds`, `<Leader>dS` respectively.
9396

97+
An example of using it in a C++ file is given below:
98+
99+
```c++
100+
// Debug String
101+
std::cout << "[a.c:4] DEBUGGING STRING ==> " << 0 << std::endl;
102+
103+
// Debug Variable
104+
std::cout << "[a.c:4] a_variable: " << a_variable << std::endl;
105+
```
106+
107+
94108
### Remarks - Debugging
95109

96110
* Make sure that `filetype plugin` is enabled. A line like `filetype plugin on` in

0 commit comments

Comments
 (0)