Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

[Debugger] Update VSCodeDebuggerSession Step methods to send requests… #9552

Merged

Conversation

jstedfast
Copy link
Member

@jstedfast
Copy link
Member Author

The following gif shows how stepping is now instant:

Kapture 2020-01-15 at 16 41 23

@jstedfast jstedfast force-pushed the jstedfast-debugger-session-step-avoid-threadpool-queue branch 2 times, most recently from 813653e to 5e53b17 Compare January 22, 2020 18:06
@jstedfast jstedfast force-pushed the jstedfast-debugger-session-step-avoid-threadpool-queue branch from 5e53b17 to 872072f Compare January 22, 2020 18:12
@jstedfast
Copy link
Member Author

This PR depends on mono/debugger-libs#282

try {
protocolClient.SendRequestSync (new StepOutRequest (currentThreadId));
} catch (Exception ex) {
protocolClient.SendRequest (new StepOutRequest (currentThreadId), null, (args, ex) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Will this mean the method exits before the step is done?

Copy link
Member Author

Choose a reason for hiding this comment

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

It just means we won't block until the response is received

@sgmunn sgmunn merged commit e0c8fcf into master Jan 23, 2020
@sgmunn sgmunn deleted the jstedfast-debugger-session-step-avoid-threadpool-queue branch January 23, 2020 15:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants