diff options
author | nosami <jasonimison@gmail.com> | 2019-03-07 14:52:21 +0300 |
---|---|---|
committer | nosami <jasonimison@gmail.com> | 2019-03-07 15:17:17 +0300 |
commit | f363d7a8936e12637a39d6d3fadbe5a0322a5b27 (patch) | |
tree | 9391f698dfd9117f420a5ec96d75cf292e8f90f6 /main/external/debugger-libs | |
parent | 9c4983949175f412c32ea90b939fede8d648e9e6 (diff) |
Fixes crash when debugger session is disposed
Fixes VSTS #801713
It was noticed while looking at this stack trace that it was possible for
protocolClient to be null when the session was disposed.
```
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.Debugger.VsCodeDebugProtocol.VSCodeDebuggerSession.UpdateBreakpoints () [0x00191] in /Users/vsts/agent/2.147.1/work/1/s/monodevelop/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs:388
at MonoDevelop.Debugger.VsCodeDebugProtocol.VSCodeDebuggerSession.OnUpdateBreakEvent (Mono.Debugging.Client.BreakEventInfo eventInfo) [0x0003d] in /Users/vsts/agent/2.147.1/work/1/s/monodevelop/main/src/addins/MonoDevelop.Debugger.VSCodeDebugProtocol/MonoDevelop.Debugger.VsCodeDebugProtocol/VSCodeDebuggerSession.cs:442
at Mono.Debugging.Client.DebuggerSession.UpdateBreakEvent (Mono.Debugging.Client.BreakEvent be) [0x00021] in /Users/vsts/agent/2.147.1/work/1/s/monodevelop/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:687
at Mono.Debugging.Client.DebuggerSession+<>c__DisplayClass116_0.<OnBreakpointModified>b__0 () [0x0000d] in /Users/vsts/agent/2.147.1/work/1/s/monodevelop/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:722
at Mono.Debugging.Client.DebuggerSession.<Dispatch>b__92_0 (System.Object <p0>) [0x00054] in /Users/vsts/agent/2.147.1/work/1/s/monodevelop/main/external/debugger-libs/Mono.Debugging/Mono.Debugging.Client/DebuggerSession.cs:300
```
Diffstat (limited to 'main/external/debugger-libs')
m--------- | main/external/debugger-libs | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/main/external/debugger-libs b/main/external/debugger-libs -Subproject b199056691fbb5e9c0a9b3ac1e020e946997f24 +Subproject 8d8e8d14f76a20c24fbe612a227344eba678ba6 |