How to debug program compiled with VS compiler

General questions regarding the usage of CodeLite

How to debug program compiled with VS compiler

Postby coot » Thu Sep 14, 2017 12:30 pm

[win10 + codelite 10.0.7 + Visual C++ 14 compiler]
Recently, I tried to use codelite + vs compiler to compile program. Now it works. it can compile and run.
However, when I set breakpoint, the program can not stop there. So, what should I do to make debug possible?

PS:1. I have added the /Zi and /debug, the pdb file is available.
2. I tried to use windbg, add it to build settings as gdb. but the debug command always be "windbg.exe --command="C:\Users\NOITOM\AppData\Local\Temp\codelite_gdbinit.txt" --interpreter=mi ", even if I checked the [Use separate debugger args] in project settings. so the windbg report parameter error.

CodeLite Enthusiast
Posts: 17
Joined: Thu Jun 15, 2017 1:41 pm

Return to Using CodeLite

Who is online

Users browsing this forum: No registered users and 7 guests