Hello
I used VS code whith leaf plagin 1.0.1
wp7502. legato 19.11.1
OS ubunt 18
i set breakpoint in funtiion COMPONENT_INIT().
When a debugging session starts, breakpoints cannot be registered.
But if i set breakpint in main() function then everything works.
how to fix it?
my launch.json
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: Debugging in Visual Studio Code
“version”: “0.2.0”,
“configurations”: [
{
“name”: “Debug Legato application (launch)”,
“type”: “legato-launch”,
“request”: “launch”,
“application”: “myApp”,
“executable”: “myAppComponentExe”
},{ "name": "Debug Legato application (attach)", "type": "legato-attach", "request": "attach", "application": "myApp", "executable": "myAppComponentExe" } ]
}