Page 1 of 1

How to debug program compiled with VS compiler

PostPosted: Thu Sep 14, 2017 12:30 pm
by coot
[win10 + codelite 10.0.7 + Visual C++ 14 compiler]
Hi,
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.

Thanks,

Re: How to debug program compiled with VS compiler

PostPosted: Fri Sep 22, 2017 9:09 pm
by eranif
You can't.
CodeLite only supports GDB and LLDB

Re: How to debug program compiled with VS compiler

PostPosted: Mon Sep 25, 2017 7:29 am
by coot
OK. Thanks for reply.