
Sage Tega
@sagetega
34 Following
108 Followers
0 reply
0 recast
0 reaction
Okay this is looking good. There’s a lot of difference between Python and C. C got me questioning a lot.
Two things: Because of the nature of C, your code has to build and compile before running.
The code below is a launch.json file that handles debugs libraries.
{
"version": "0.2.0",
"configurations": [
{
"name": "Run C (no debug)",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/clessons",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "lldb",
"logging": {
"engineLogging": false,
"trace": false,
"traceResponse": false
},
"miDebuggerPath": "/usr/bin/lldb"
}
]
} 0 reply
0 recast
0 reaction
0 reply
0 recast
0 reaction
1 reply
0 recast
1 reaction
0 reply
0 recast
0 reaction
1 reply
0 recast
1 reaction
1 reply
0 recast
12 reactions
1 reply
0 recast
1 reaction
0 reply
1 recast
2 reactions
1 reply
1 recast
7 reactions
0 reply
0 recast
5 reactions
1 reply
2 recasts
6 reactions
3 replies
0 recast
4 reactions
3 replies
0 recast
10 reactions
27 replies
7 recasts
243 reactions