Open wojciech-kulik opened 3 months ago
I think I found the root cause. Codelldb adds some breakpoints automatically: https://github.com/vadimcn/codelldb/blob/05502bf75e4e7878a99b0bf0a7a81bba2922cbe3/adapter/codelldb/src/debug_session/breakpoints.rs#L427-L438
I prepared a workaround, but it's very annoying behavior:
require("dap").configurations.swift[1].postRunCommands = {
"breakpoint delete cpp_exception",
}
OS: macOS 14.2.1 Neovim: 0.9.5 Compiler: Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4) Debuggee: iOS application
Hello,
I'm using
nvim-dap
plugin to debug iOS applications using codelldb. In one project, I've got this weird issue that every time I run the app it stops twice after starting. Of course,stopOnEntry = false
.My configuration for
nvim-dap
:and my adapter:
here is the disassembly:
I managed to figure out that it happens only for incremental builds. I'm not sure what could be the root cause but I switched to
lldb-vscode
fromllvm
repository and it doesn't occur then. Also, I connected manually usinglldb
directly and it doesn't happen either. From Xcode it doesn't occur as well. This leads me tocodelldb
.Could you investigate this issue?