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.