Closed lokinfey closed 4 years ago
I don't use CodeLLDB, sorry :(
I don't use CodeLLDB, sorry :(
But How you set debug swift in Ubuntu .....? Can you help me
Hi @lokinfey.
I am sorry to say, I currently don't have enough free space left on my mac to install an Ubuntu VM with Swift (or even a Windows). Nonetheless please head to the vscode-lldb extensions repository in case you have problems with it. This project is not related to the lldb debugger.
To get valuable feedback there, provide as much information as possible (your system and vscode configurations, the Swift version, an open source project where you could reproduce your issue, feel free to link this issue and me, etc).
Explicitly regarding your screenshot:
The local i
-variable might have been optimized out by the Swift compiler, as it was never used.
Does return "It works: \(i)"
fix your issue?
Do Static or Global variables work?
I hope this helps!
hi I use CodeLLDB to finish sourcekit-lsp debug in window wsl 2 / ubuntu linux
But it can not show local variables in VSCode :
How to set some to see my local variable