Currently I am using the newest version: 16.01
So debugging functions like "next line" and breakpoints actually work, just the editor is not showing me anything.
No feedback on which line I am, or any locals or watches.
I assume this could be because the debugger can't find the microsoft symbols.
He
does find the pdb of the compiled .exe though ... it seems.
While searching on the board, I found the enviroment variable "_NT_SYMBOL_PATH" mentioned.
So I installed the symbols locally and added the path, just to be safe I also added it in the C::B settings: _NT_SYMBOL_PATH=srv*C:\Symbols*https://msdl.microsoft.com
Here are the logs:
Active debugger config: GDB/CDB debugger:Test
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\cpp\test\Test\
Adding source dir: C:\cpp\test\Test\
Adding file: C:\cpp\test\Test\bin\Debug\Test.exe
Changing directory to: C:/cpp/test/Test/.
Set variable: PATH=.;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files (x86)\Windows Kits\8.1\bin\x86;C:\Program Files (x86)\Windows Kits\8.1\bin\x64;C:\Program Files (x86)\Windows Kits\10\bin\x86;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0
Starting debugger: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\cdb.exe -G -lines -2 -y C:/cpp/test/Test/; -srcpath C:/cpp/test/Test/; C:/cpp/test/Test/bin/Debug/Test.exe
done
Setting breakpoints
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\kernel32.dll -
*** WARNING: Unable to verify checksum for Test.exe
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\ucrtbased.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\MSVCP140D.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\VCRUNTIME140D.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\api-ms-win-core-file-l1-2-0.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\api-ms-win-core-processthreads-l1-1-1.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\api-ms-win-core-localization-l1-2-0.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\api-ms-win-core-file-l2-1-0.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\api-ms-win-core-timezone-l1-1-0.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\api-ms-win-core-synch-l1-2-0.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Windows\system32\KERNELBASE.dll -
Breakpoint 1 hit
EDIT:
Just to make sure I tried it with the newest Nightly build provided in the board, 11146, exact same result.