Sunday, July 7, 2024

xcode – Qt on MacOS not discovering appropriate (?) LLDB

I’ve resurrected a C++ mission I used to be engaged on a number of years in the past in Qt (MacOS), and might now not get debugging to work. The issue appears to be that it’s making an attempt to make use of the unsuitable (outdated?) model of LLDB. The present macOS model is 12.6.8. I am unsure what the model was once I set all of it up.

In Preferences > Kits > Debuggers, it lists as ‘Auto-detected’ each Purposes/Xcode.app/Contents/Developer/usr/bin/lldb, and /usr/bin/lldb. The latter is flagged (popup seems when hovering) as ‘Can not decide debugger sort’ (and with a crimson warning marker). The opposite entry appears effective.

Once I look in Tasks > Construct and Run and hover over Construct (for this mission) the popup window tells me ‘Not recognised engine utilizing /usr/bin/lldb’, and when I attempt to run the code in debug mode I get the message (in Software output) ‘Unable to create a debugging engine’.

It appears that evidently Qt is discovering two variations of the debugging engine, certainly one of which is presumably OK and the opposite not, after which tries to make use of the unsuitable one. There isn’t a choice within the listing of debuggers in Desire > Kits to take away the problematic one or to set a default.

Can anybody counsel an answer – and ideally one which is not too sophisticated!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles