Skip to content

[cherry-pick][lldb] Clear thread-creation breakpoints in ProcessGDBRemote::Clear (… #10430

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

felipepiovezan
Copy link

@felipepiovezan felipepiovezan commented Apr 4, 2025

llvm#134397)

Currently, these breakpoints are being accumulated every time a new process if created (e.g. through a run). Depending on the circumstances, the old breakpoints are even left enabled, interfering with subsequent processes. This is addressed by removing the breakpoints in ProcessGDBRemote::Clear

Note that these breakpoints are more of a PlatformDarwin thing, so in the future we should look into moving them there.

(cherry picked from commit 232525f)

rdar://146049406

…lvm#134397)

Currently, these breakpoints are being accumulated every time a new
process if created (e.g. through a `run`). Depending on the
circumstances, the old breakpoints are even left enabled, interfering
with subsequent processes. This is addressed by removing the breakpoints
in ProcessGDBRemote::Clear

Note that these breakpoints are more of a PlatformDarwin thing, so in
the future we should look into moving them there.

(cherry picked from commit 232525f)
@felipepiovezan felipepiovezan requested a review from a team as a code owner April 4, 2025 17:07
@felipepiovezan
Copy link
Author

@swift-ci test

@felipepiovezan felipepiovezan changed the title [lldb] Clear thread-creation breakpoints in ProcessGDBRemote::Clear (… [cherry-pick][lldb] Clear thread-creation breakpoints in ProcessGDBRemote::Clear (… Apr 4, 2025
@felipepiovezan felipepiovezan merged commit 2590699 into swiftlang:stable/20240723 Apr 4, 2025
2 of 3 checks passed
@felipepiovezan felipepiovezan deleted the felipe/clear_thread_creation_bps_cherrypick branch April 4, 2025 20:00
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