VSCode Extension for Cerberus

Ferdi

Member
3rd Party Target Dev
Joined
Jun 21, 2017
I had a quick look at how to add a debugger for CX in VS Code very quickly. I glanced at https://code.visualstudio.com/api/extension-guides/debugger-extension but that article just uses a mock debugger. That mock debugger does not show how to create a CX debugger for VS Code.

But I did find this article: https://www.codemag.com/article/1809051/Writing-Your-Own-Debugger-and-Language-Extensions-with-Visual-Studio-Code (Part 3). It seems we need to pass the correct data in via TCP IP 127.0.0.1? I am guessing, the correct data is generated by the "transcc"? Looks like it is not easy to create a debugger.

Anyway, reference links:
Part 1: https://www.codemag.com/article/1607081
Part 2: https://www.codemag.com/article/1711081
Part 3: https://www.codemag.com/article/1809051/Writing-Your-Own-Debugger-and-Language-Extensions-with-Visual-Studio-Code
Github: https://github.com/vassilych
CSCS debugger GitHub: https://github.com/vassilych/cscs-debugger

@adamredwoods thanks for this! It is a really good extension.
 

adamredwoods

Member
3rd Party Tool Dev
Joined
Jun 23, 2017
Updated: 0.9.2
- Right-click context menu for build commands.
- Trans build errors now register in VSCode (red underline and can be highlighted under 'Problems') - this is just a first pass, let me know if you encounter problems.

Screen Shot 2019-11-14 at 2.45.06 PM.png


BTW-- I am using VSCodium for all this. Works the same as VSCode.
 
Last edited:
Top Bottom