Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-14243] Swift LLDB on Windows - not possible to set a breakpoint #4323

Open
swift-ci opened this issue Feb 17, 2021 · 3 comments
Open

[SR-14243] Swift LLDB on Windows - not possible to set a breakpoint #4323

swift-ci opened this issue Feb 17, 2021 · 3 comments
Assignees
Labels
bug LLDB for Swift

Comments

@swift-ci
Copy link

@swift-ci swift-ci commented Feb 17, 2021

Previous ID SR-14243
Radar None
Original Reporter stanislav.dombrovsky (JIRA User)
Type Bug
Environment

Windows 10, January, 27 toolchain from snapshots

Additional Detail from JIRA
Votes 2
Component/s LLDB for Swift
Labels Bug
Assignee @compnerd
Priority Medium

md5: fb245344e39d48e3d8c8ae74a29e82f7

Issue Description:

I was using the January, 27 toolchain from snapshots on Windows 10. I can compile a simple executable, but source list LLDB command does not list any source location. It makes not possible to set any breakpoint in the code and stops us from having the working debugger on Windows in the CLion (and I believe, in any IDE that needs to debug Swift on Windows). Related issue is here.

@compnerd
Copy link
Collaborator

@compnerd compnerd commented Jun 12, 2021

Quality of debug info is still an issue. The proper thing to do is to improve CodeView emission and get that fully covered.

@swift-ci
Copy link
Author

@swift-ci swift-ci commented Nov 1, 2021

Comment by Steven Van Impe (JIRA)

I ran into the same issue after trying to use CodeLLDB in Visual Studio Code on Windows (vadimcn/vscode-lldb#566

@swift-ci
Copy link
Author

@swift-ci swift-ci commented Dec 19, 2021

Comment by Steven Van Impe (JIRA)

I've noticed that when compiling in release mode, I can set breakpoints. However, without the Swift-specific LLDB, the variable names are mangled.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug LLDB for Swift
Projects
None yet
Development

No branches or pull requests

2 participants