franneck94 / Vscode-C-Cpp-Runner

🚀 Compile, run and debug single or multiple C/C++ files with ease. 🚀
MIT License
53 stars 14 forks source link

Step through #150

Closed WildboyGG closed 6 months ago

WildboyGG commented 6 months ago

Hello! Problems encountered when downloading your warehouse code running: every time you run a single step debugging, run the activate function, still do not see the bottom left corner of several compiled run plug-in generation, may I ask why? Why run the generated.js project after running the Activate function at the same time? Could you answer that? Thank you very much

franneck94 commented 6 months ago

I do not understand a single sentence. Why are you talking about JavaScript files?

WildboyGG commented 6 months ago

Sorry, I might not have described it well. After I single-step through the 'activate' function, the next single step jumps into the .js code, so I might be a bit confused, okay?

WildboyGG commented 6 months ago

I have a question, okay? Why does the icon in the bottom left corner only appear after the 'activate' function has finished running? When is the trigger for the bottom left icon activated?

franneck94 commented 6 months ago

The activation conditions are defined here:

https://github.com/franneck94/Vscode-C-Cpp-Runner/blob/bca9c8bcbc23e44344baee6d37c7334448153c62/package.json#L37C4-L37C20

franneck94 commented 6 months ago

What do you want to debug in the extension?

WildboyGG commented 6 months ago

Yes, I'd like to extend the plugin with a cross-compilation feature, along with single-step debugging capability for microcontrollers.

franneck94 commented 6 months ago

extend the plugin with a cross-compilation feature

This should work out of the box isnt it?