Skip to content

[lldb] Accept address in task backtrace and select commands #10191

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

kastiglione
Copy link

@kastiglione kastiglione commented Mar 6, 2025

Update the language swift task {backtrace,select} commands to take a task address.

This is useful in conjunction with #10176 which prints a tasks address. An example use case is printing a TaskGroup, and then using the address of one of the group's child tasks with either the backtrace or select command.

@kastiglione kastiglione requested a review from a team as a code owner March 6, 2025 20:45
@kastiglione kastiglione changed the title dl/lldb Accept address in task backtrace and select commands [lldb] Accept address in task backtrace and select commands Mar 6, 2025
@kastiglione
Copy link
Author

@swift-ci test

1 similar comment
@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@adrian-prantl the commit specific to this PR is the 075ef52 (for easier review)

@kastiglione kastiglione force-pushed the dl/lldb-Accept-address-in-task-backtrace-and-select-commands branch from 07015ac to a59e0ee Compare March 7, 2025 23:12
@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test macOS

@kastiglione kastiglione merged commit 0a0c9a6 into stable/20240723 Mar 8, 2025
3 checks passed
@kastiglione kastiglione deleted the dl/lldb-Accept-address-in-task-backtrace-and-select-commands branch March 8, 2025 06:00
kastiglione added a commit that referenced this pull request Mar 11, 2025
Update the `language swift task {backtrace,select}` commands to take a task address.

This is useful in conjunction with #10176 which prints a tasks address. An example use case is printing a `TaskGroup`, and then using the address of one of the group's child tasks with either the `backtrace` or `select` command.

(cherry-picked from commit 0a0c9a6)
kastiglione added a commit that referenced this pull request Mar 11, 2025
Update the `language swift task {backtrace,select}` commands to take a task address.

This is useful in conjunction with #10176 which prints a tasks address. An example use case is printing a `TaskGroup`, and then using the address of one of the group's child tasks with either the `backtrace` or `select` command.

(cherry-picked from commit 0a0c9a6)
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.

2 participants