<div dir="ltr">Hi all,<div><br></div><div>I Built Clang from source using Visual Studio in debug mode, and I'm trying to debug it.</div><div>However, the debugger doesn't break on any breakpoint that I put.</div><div>When I put breakpoints directly using __debugbreak(), clang just crashes with the even though the debugger is attached.</div><div><br></div><div>(I'm sure that this code flow actually happens, as I added some llvm::errs to prove it)</div><div><br></div><div>The original Cmake command was:</div><div>cmake.exe -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_ENABLE_IDE=ON -G "Visual Studio 15 2017" -A x64 -Thost=x64 <path_to_llvm><br></div><div><br></div><div>Am I doing something wrong?</div><div>Is there some other step that I'm missing?</div></div>