File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1334,11 +1334,11 @@ protected override void HandleGotoRequestAsync(IRequestResponder<GotoArguments>
13341334 }
13351335
13361336 var builder = new ErrorBuilder ( ( ) => AD7Resources . Error_UnableToSetNextStatement ) ;
1337+ IDebugThread2 thread = null ;
13371338 try
13381339 {
13391340 if ( m_gotoCodeContexts . TryGetValue ( responder . Arguments . TargetId , out IDebugCodeContext2 gotoTarget ) )
13401341 {
1341- IDebugThread2 thread = null ;
13421342 lock ( m_threads )
13431343 {
13441344 if ( ! m_threads . TryGetValue ( responder . Arguments . ThreadId , out thread ) )
@@ -1352,9 +1352,11 @@ protected override void HandleGotoRequestAsync(IRequestResponder<GotoArguments>
13521352 {
13531353 m_isStopped = true ;
13541354 responder . SetError ( new ProtocolException ( e . Message ) ) ;
1355+ return ;
13551356 }
13561357
13571358 responder . SetResponse ( response ) ;
1359+ FireStoppedEvent ( thread , StoppedEvent . ReasonValue . Goto ) ;
13581360 }
13591361
13601362 protected override void HandleGotoTargetsRequestAsync ( IRequestResponder < GotoTargetsArguments , GotoTargetsResponse > responder )
You can’t perform that action at this time.
0 commit comments