ExploratoryEngineering / nrf9160-telenor

Samples to get you started with nrf9160 and Telenor's IoT Gateway
Apache License 2.0
10 stars 5 forks source link

Trying to debug from Visual Studio Code #7

Open cwbrandsdal opened 4 years ago

cwbrandsdal commented 4 years ago

Hi. I try to debug code from Visual Studio Code, but get the following error. I have tried to follow the instructions in the readme, but just can't figure this one out. So sorry if this is the wrong place to ask the question, just could not find any other place to ask.

undefined GDB executable "arm-none-eabi-gdb.exe" was not found. Please configure "cortex-debug.armToolchainPath" correctly.

gregersrygg commented 4 years ago

Sorry, but we haven't been able to test the debugging on a Windows computer. According to developers I've spoken to from Nordic, I'm not even sure if it's possible. You can try modifying the paths in this files, but it still might not work:

https://github.com/ExploratoryEngineering/nrf9160-telenor/blob/master/.vscode/c_cpp_properties.json#L13