How to debug program compiled with VS compiler

General questions regarding the usage of CodeLite
coot
CodeLite Enthusiast
Posts: 20
Joined: Thu Jun 15, 2017 1:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

How to debug program compiled with VS compiler

Post 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,
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to debug program compiled with VS compiler

Post by eranif »

You can't.
CodeLite only supports GDB and LLDB
Make sure you have read the HOW TO POST thread
coot
CodeLite Enthusiast
Posts: 20
Joined: Thu Jun 15, 2017 1:41 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: How to debug program compiled with VS compiler

Post by coot »

OK. Thanks for reply.
Post Reply