lldb-dap closes connection

If I build an x64 binary on my M4 Mini, when I try to debug it using Visual Studio remote debugging the connection is closed, which means I cannot debug my code in x64 mode. I need to be able to do this as I have architecture specific code.

I have Rosetta installed.

FWIW I have the same issue with lldb-mi :(

David

Answered by DTS Engineer in 851108022

You might have more luck asking this via the support channel for the third-party tools you’re using because, in general, the Apple Developer Forums are focused on Apple APIs and tools.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

You might have more luck asking this via the support channel for the third-party tools you’re using because, in general, the Apple Developer Forums are focused on Apple APIs and tools.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

OK except that lldp-dap is shipped as part of XCode - it is shipped as part of 16.4 (maybe earlier releases also) and upwards.

except that lldp-dap is shipped as part of XCode

Indeed. And if you could figure out a way to reproduce this problem using Xcode, I’d be happy to look at it. However, my understanding is that this issue only shows up when that code is invoked by your third-party tools, and hence my advice.

This is kinda like the issue that I talk about in Investigating Third-Party IDE Integration Problems. The clang tool absolutely ships with Xcode, and if you can make it fail when invoking it from Xcode, or from Terminal, I’ll willingly wade in. But if it only fails when invoked from your third-party IDE, that’s something that you, or the IDE vendor, needs to look at first.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

lldb-dap closes connection
 
 
Q