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]
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,
coot
CodeLite Enthusiast
 
Posts: 18
Joined: Thu Jun 15, 2017 1:41 pm

Re: How to debug program compiled with VS compiler

Postby eranif » Fri Sep 22, 2017 9:09 pm

You can't.
CodeLite only supports GDB and LLDB
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
 
Posts: 5654
Joined: Wed Feb 06, 2008 9:29 pm

Re: How to debug program compiled with VS compiler

Postby coot » Mon Sep 25, 2017 7:29 am

OK. Thanks for reply.
coot
CodeLite Enthusiast
 
Posts: 18
Joined: Thu Jun 15, 2017 1:41 pm


Return to Using CodeLite

Who is online

Users browsing this forum: No registered users and 11 guests