@@ -109,7 +109,7 @@ public int GetNameOfLocation(IVsTextBuffer pBuffer, int iLine, int iCol, out str
109109 // NOTE(cyrusn): We have to wait here because the debuggers'
110110 // GetNameOfLocation is a blocking call. In the future, it
111111 // would be nice if they could make it async.
112- var debugLocationInfo = await _languageDebugInfo . GetLocationInfoAsync ( document , point , cancellationToken ) . ConfigureAwait ( false ) ;
112+ var debugLocationInfo = await _languageDebugInfo . GetLocationInfoAsync ( document , point , cancellationToken ) . ConfigureAwait ( true ) ;
113113
114114 if ( debugLocationInfo . IsDefault )
115115 return default ;
@@ -200,7 +200,7 @@ public int ResolveName(string pszName, uint dwFlags, out IVsEnumDebugName? ppNam
200200 var breakpoints = await _breakpointService . ResolveBreakpointsAsync (
201201 solution , pszName , cancellationToken ) . ConfigureAwait ( false ) ;
202202 var debugNames = await breakpoints . SelectAsArrayAsync (
203- bp => CreateDebugNameAsync ( bp , cancellationToken ) ) . ConfigureAwait ( false ) ;
203+ bp => CreateDebugNameAsync ( bp , cancellationToken ) ) . ConfigureAwait ( true ) ;
204204
205205 return new VsEnumDebugName ( debugNames ) ;
206206 }
@@ -223,7 +223,7 @@ private async ValueTask<IVsDebugName> CreateDebugNameAsync(
223223 // If we're inside an Venus code nugget, we need to map the span to the surface buffer.
224224 // Otherwise, we'll just use the original span.
225225 var mappedSpan = await span . MapSpanFromSecondaryBufferToPrimaryBufferAsync (
226- this . ThreadingContext , document . Id , cancellationToken ) . ConfigureAwait ( false ) ;
226+ this . ThreadingContext , document . Id , cancellationToken ) . ConfigureAwait ( true ) ;
227227 if ( mappedSpan != null )
228228 span = mappedSpan . Value ;
229229
0 commit comments