I would like to also develop applications using Swift on my windows machine but unfortunately, the Codelldb extension does not display variables during debugging. Is there anyone who manged to get it working?
I also tried Swift's bundled LLDB version but then I got another error message.
A minimal example:
@main
struct App {
static func main() {
let idx = 1
print()
}
}
No when I set the breakpoint to the line containing print, I get the following variable output using CodeLLDB's standard settings:
When I change the LLDB library to Swift's embedded LLDB version, I get the following output:
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings'
Current thread 0x000077b4 (most recent call first): Debug adapter exit code=1 (0x1), signal=null.