Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <jestedfa@microsoft.com>2019-07-02 19:14:56 +0300
committerJeffrey Stedfast <jestedfa@microsoft.com>2019-07-08 22:29:11 +0300
commit95b9655cb7c5a5e041eba93551aed1208c10e813 (patch)
tree028fa6b9c7e8ef990e56314ac5647d479af26605
parent0c8fb915f4863d6275ba71660e5f95629e1c435f (diff)
[Debugger] Fixed VSCodeDebuggerSession.OnNextInstruction
I previously "fixed" this to do StepInRequest but I was wrong.
-rw-r--r--main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs b/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs
index 2d195f82cf..5da7eda093 100644
--- a/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs
+++ b/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs
@@ -173,7 +173,7 @@ namespace MonoDevelop.Debugger.VsCodeDebugProtocol
protected override void OnNextInstruction ()
{
- protocolClient.SendRequestSync (new StepInRequest (currentThreadId));
+ protocolClient.SendRequestSync (new NextRequest (currentThreadId));
}
protected override void OnNextLine ()
@@ -430,9 +430,9 @@ namespace MonoDevelop.Debugger.VsCodeDebugProtocol
});
break;
case "process":
- var processEvent = (ProcessEvent)obj.Body;
- processInfo.Add(new ProcessInfo(processEvent.SystemProcessId ?? 1, processEvent.Name));
- OnStarted();
+ var processEvent = (ProcessEvent)obj.Body;
+ processInfo.Add(new ProcessInfo(processEvent.SystemProcessId ?? 1, processEvent.Name));
+ OnStarted();
break;
case "output":
var outputBody = (OutputEvent)obj.Body;