WittonBell

Results 26 comments of WittonBell

I install the pre-release version of CMake Tools(v1.11.15) and set: ``` cmake.debugConfig: { "MIMode": "lldb" } ``` still can not debug. I install the pre-release version of c/c++(v1.10.0) at the...

> Hmm... That's unexpected. What happens when you run: > > ``` > /Users/witton/.vscode/extensions/ms-vscode.cpptools-1.10.0-darwin-x64/debugAdapters/lldb-mi/bin/lldb-mi --version > echo $? > ``` > > in your terminal? nothing

I found using ms-vscode.cpptools-1.5.1 and set ``` "cmake.debugConfig": { "MIMode": "lldb", "miDebuggerPath": "/Users/witton/.vscode/extensions/ms-vscode.cpptools-1.5.1/debugAdapters/lldb/bin/lldb-mi" } ``` it does work. This version need to set "miDebuggerPath". But it does not work above...

This is ms-vscode.cpptools-1.5.1 output: But above 1.5.1 version, the second pic(`debug console` window) output nothing. the `output` windows is like this: ``` [main] Building folder: CMakeTest demo [build] Starting build...

> > Hmm... That's unexpected. What happens when you run: > > ``` > > /Users/witton/.vscode/extensions/ms-vscode.cpptools-1.10.0-darwin-x64/debugAdapters/lldb-mi/bin/lldb-mi --version > > echo $? > > ``` > > > > > >...

``` $ /Users/witton/.vscode/extensions/ms-vscode.cpptools-1.10.0-darwin-x64/debugAdapters/lldb-mi/bin/lldb-mi --version Version: GNU gdb (GDB) 7.4 (This is a MI stub on top of LLDB and not GDB) All rights reserved. dyld: lazy symbol binding failed: Symbol...

Thanks @bobbrow @WardenGnaw . I set another lldb `lldb/bin/lldb-mi`: ``` "cmake.debugConfig": { "MIMode": "lldb", "miDebuggerPath": "/Users/witton/.vscode/extensions/ms-vscode.cpptools-1.10.0-darwin-x64/debugAdapters/lldb/bin/lldb-mi" }, ``` still does not work, maybe `cmake tools` not support.

``` $ /Users/witton/.vscode/extensions/ms-vscode.cpptools-1.10.0-darwin-x64/debugAdapters/lldb/bin/lldb-mi --version Version: GNU gdb (GDB) 7.4 (This is a MI stub on top of LLDB and not GDB) All rights reserved. ``` ``` $ echo $? 0...

I test debug a single cpp file with `launch.json` and set `miDebuggerPath` is `/Users/witton/.vscode/extensions/ms-vscode.cpptools-1.10.0-darwin-x64/debugAdapters/lldb/bin/lldb-mi`, still does not work. I think debugAdapters is something wrong for older platforms(High Sierra and lower)....

> And you still have version 1.11.x of CMake Tools installed? I don't understand how it could skip the override logic for this version because the return code is `0`...