File tree 1 file changed +3
-1
lines changed
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>
1334
1334
}
1335
1335
1336
1336
var builder = new ErrorBuilder ( ( ) => AD7Resources . Error_UnableToSetNextStatement ) ;
1337
+ IDebugThread2 thread = null ;
1337
1338
try
1338
1339
{
1339
1340
if ( m_gotoCodeContexts . TryGetValue ( responder . Arguments . TargetId , out IDebugCodeContext2 gotoTarget ) )
1340
1341
{
1341
- IDebugThread2 thread = null ;
1342
1342
lock ( m_threads )
1343
1343
{
1344
1344
if ( ! m_threads . TryGetValue ( responder . Arguments . ThreadId , out thread ) )
@@ -1352,9 +1352,11 @@ protected override void HandleGotoRequestAsync(IRequestResponder<GotoArguments>
1352
1352
{
1353
1353
m_isStopped = true ;
1354
1354
responder . SetError ( new ProtocolException ( e . Message ) ) ;
1355
+ return ;
1355
1356
}
1356
1357
1357
1358
responder . SetResponse ( response ) ;
1359
+ FireStoppedEvent ( thread , StoppedEvent . ReasonValue . Goto ) ;
1358
1360
}
1359
1361
1360
1362
protected override void HandleGotoTargetsRequestAsync ( IRequestResponder < GotoTargetsArguments , GotoTargetsResponse > responder )
You can’t perform that action at this time.
0 commit comments