This is an archive of the discontinued LLVM Phabricator instance.

Reverse the order of modules-loaded/unloaded & breakpoint-changed events
ClosedPublic

Authored by jingham on Mar 3 2022, 10:12 AM.

Details

Summary

Currently, when a new module is loaded/unloaded and it causes new breakpoint locations to be created or resolved, you get two events, an modules-loaded event and a breakpoint-changed event. But they come out in the order:

breakpoint-changed
modules-loaded

which doesn't make much sense. This patch reverses the order.

This should be uncontroversial, but I put the patch up to check that vscode or other clients haven't coded around this odd behavior.

Diff Detail

Event Timeline

jingham created this revision.Mar 3 2022, 10:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 10:12 AM
jingham requested review of this revision.Mar 3 2022, 10:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 10:12 AM
clayborg accepted this revision.Mar 3 2022, 10:34 AM

lldb-vscode will be just fine.

This revision is now accepted and ready to land.Mar 3 2022, 10:34 AM