Skip to content

[lldb] Introduce backtracing of Swift Tasks (#9845) #9870

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

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

kastiglione
Copy link

@kastiglione kastiglione commented Jan 22, 2025

Introduces the first of a new group of commands for working with Swift Task instances.

The new command group is language swift task, and the first command is backtrace. This backtrace command takes the name of a task variable and prints the task's backtrace. The variable can be either Task<Success, Failure> or UnsafeCurrentTask. The output is similar to the builtin thread backtrace (bt) command.

See the original PR: #9787

(cherry picked from commit 2c3335d)

Introduces the first of a new group of commands for working with Swift Task instances.

The new command group is `language swift task`, and the first command is `backtrace`. This `backtrace` command takes the name of a task variable and prints the task's backtrace. The variable can be either `Task<Success, Failure>` or `UnsafeCurrentTask`. The output is similar to the builtin `thread backtrace` (`bt`) command.

See the original PR: #9787
@kastiglione kastiglione merged commit 1e87eae into next Jan 22, 2025
@kastiglione kastiglione deleted the dl/lldb-Introduce-backtracing-of-Swift-Tasks-9845 branch January 22, 2025 22:13
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.

1 participant