Skip to content

[C] Breakpoints not work #695

Answered by Mikachu2333
Mikachu2333 asked this question in Q&A
Apr 30, 2022 · 6 comments · 18 replies
Discussion options

You must be logged in to vote

In summary, here are two ways to solve this problem. (VSCode couldn't debug the file you want)

No.1 Use the LLVM-MinGW64 toolkit that someone has bulit before, and reinstall LLVM (or build llvm project by yourself) to the same folder where you realease the LLVM-MinGW64 before. (If confilct, cover it.)

Here is the detailed tutorial #695 (reply in thread)

If you download the archive from winlibs.com with UCRT toolkits or versions fllowing, there is no neeed to use "--target=" arg.

And https://github.com/brechtsanders/winlibs_mingw/releases is the same as winlibs.com

If you don't need to debug and just need to compile the file, there is no need to do the things above. Just download the archi…

Replies: 6 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
11 replies
@johnmph
Comment options

@Mikachu2333
Comment options

@Mikachu2333
Comment options

@Mikachu2333
Comment options

@Mikachu2333
Comment options

Comment options

You must be logged in to vote
1 reply
@johnmph
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Mikachu2333
Comment options

Comment options

You must be logged in to vote
5 replies
@endingly
Comment options

@Mikachu2333
Comment options

@F7kyyy
Comment options

@WJ430981
Comment options

@vadimcn
Comment options

Answer selected by Mikachu2333
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants