Skip to content

#246, #362 - Debugger listening but program not starting, flakey debugger behavior#448

Merged
mousetraps merged 1 commit intomicrosoft:masterfrom
mousetraps:i362
Sep 14, 2015
Merged

#246, #362 - Debugger listening but program not starting, flakey debugger behavior#448
mousetraps merged 1 commit intomicrosoft:masterfrom
mousetraps:i362

Conversation

@mousetraps
Copy link
Copy Markdown
Contributor

The issue in this case stems from sending an AD7LodCompleteRunningEvent
when we should be sending an AD7LoadCompleteEvent. In particular,
_processLoadedRunning is set to true here even though execution ends up
being paused later.

The fix is to only load the "running" value after modules are loaded,
rather than beforehand.
are loaded, so load the property then rather than beforehand.

Fix #362, fix #246

The issue in this case stems from sending an AD7LodCompleteRunningEvent
when we should be sending an AD7LoadCompleteEvent. In particular,
_processLoadedRunning is set to true here even though execution ends up
being paused later.

The fix is to only load the "running" value after modules are loaded,
rather than beforehand.
are loaded, so load the property then rather than beforehand.
mousetraps added a commit that referenced this pull request Sep 14, 2015
#246, #362 - Debugger listening but program not starting, flakey debugger behavior

The issue in this case stems from sending an AD7LodCompleteRunningEvent
when we should be sending an AD7LoadCompleteEvent. In particular,
_processLoadedRunning is set to true here even though execution ends up
being paused later.

The fix is to only load the "running" value after modules are loaded,
rather than beforehand.
are loaded, so load the property then rather than beforehand.

Fix #362, fix #246
@mousetraps mousetraps merged commit cc4dca9 into microsoft:master Sep 14, 2015
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this line for?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes it easier to read between the lines. I'll remove it 😃

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.

Debugger listening but program not starting Debugger Not Attaching Due to Race Condition in Code

3 participants