Support debugging with breakpoints in Xcode and Visual Studio Code #9856
Replies: 5 comments
|
"LLDB is the default debugger in Xcode on macOS and supports debugging C, Objective-C and C++ on the desktop and iOS devices and simulator." https://lldb.llvm.org |
|
For Visual Studio Code, there is an extension called CodeLLDB that enables LLDB-based debugging for "C++, Rust, and other compiled languages" https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb I haven't used it myself. |
|
I received the following next steps from Google Gemini.
|
|
Status update: I have a custom build rule for .ts files:
It adds some DWARF data to the binary, and the binary size is noticeably larger when this runs. However, this DWARF data doesn't seem to be sufficient for Xcode to enable working breakpoints in the code. |

Uh oh!
There was an error while loading. Please reload this page.
Please consider supporting debugging with breakpoints in Xcode and Visual Studio Code.
The ability to set breakpoints in code has been one of the most important IDE features throughout my programming career. It is hard to think of any other feature that is as powerful for debugging as breakpoints. I hope you will consider this seriously, or perhaps point me in the right direction to set it up if it is already possible with some tweaking. Thank you in advance for your time and consideration!
All reactions