Skip to content

[Cherry-pick into swift/release/6.1] [lldb] Expose structured errors in SBError (#120784) #9784

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

Conversation

adrian-prantl
Copy link

commit d9cc37fea7b02954079ca59e8f7f28cffacc7e9e
Author: Adrian Prantl <[email protected]>
Date:   Fri Dec 20 13:02:54 2024 -0800

    [lldb] Expose structured errors in SBError (#120784)
    
    Building on top of previous work that exposed expression diagnostics via
    SBCommandReturnObject, this patch generalizes the support to expose any
    SBError as machine-readable structured data. One use-case of this is to
    allow IDEs to better visualize expression diagnostics.
    
    rdar://139997604

@adrian-prantl adrian-prantl requested a review from a team as a code owner December 20, 2024 21:04
@adrian-prantl
Copy link
Author

@swift-ci test

Building on top of previous work that exposed expression diagnostics via
SBCommandReturnObject, this patch generalizes the support to expose any
SBError as machine-readable structured data. One use-case of this is to
allow IDEs to better visualize expression diagnostics.

rdar://139997604
(cherry picked from commit d9cc37f)
@adrian-prantl adrian-prantl force-pushed the cherry-pick-swift-release-6.1-lldb-Expose-structured-errors-in-SBError-120784 branch from 93e9b17 to 6ddc07c Compare December 21, 2024 01:07
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit dd0f3b2 into swiftlang:swift/release/6.1 Dec 21, 2024
3 checks passed
@slydiman
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants