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 @@ -1322,11 +1322,11 @@ protected override void HandleGotoRequestAsync(IRequestResponder<GotoArguments>
1322
1322
}
1323
1323
1324
1324
var builder = new ErrorBuilder ( ( ) => AD7Resources . Error_UnableToSetNextStatement ) ;
1325
+ IDebugThread2 thread = null ;
1325
1326
try
1326
1327
{
1327
1328
if ( m_gotoCodeContexts . TryGetValue ( responder . Arguments . TargetId , out IDebugCodeContext2 gotoTarget ) )
1328
1329
{
1329
- IDebugThread2 thread = null ;
1330
1330
lock ( m_threads )
1331
1331
{
1332
1332
if ( ! m_threads . TryGetValue ( responder . Arguments . ThreadId , out thread ) )
@@ -1340,9 +1340,11 @@ protected override void HandleGotoRequestAsync(IRequestResponder<GotoArguments>
1340
1340
{
1341
1341
m_isStopped = true ;
1342
1342
responder . SetError ( new ProtocolException ( e . Message ) ) ;
1343
+ return ;
1343
1344
}
1344
1345
1345
1346
responder . SetResponse ( response ) ;
1347
+ FireStoppedEvent ( thread , StoppedEvent . ReasonValue . Goto ) ;
1346
1348
}
1347
1349
1348
1350
protected override void HandleGotoTargetsRequestAsync ( IRequestResponder < GotoTargetsArguments , GotoTargetsResponse > responder )
You can’t perform that action at this time.
0 commit comments