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 @@ -82,6 +82,8 @@ export class ObjectScriptDebugSession extends LoggingDebugSession {
8282
8383 private _contexts = new Map < number , xdebug . Context > ( ) ;
8484
85+ private _contextNames : string [ ] = [ "Private" , "Public" ] ;
86+
8587 private _properties = new Map < number , xdebug . Property > ( ) ;
8688
8789 private _evalResultProperties = new Map < number , xdebug . EvalResultProperty > ( ) ;
@@ -387,7 +389,7 @@ export class ObjectScriptDebugSession extends LoggingDebugSession {
387389 scopes = contexts . map ( ( context ) => {
388390 const variableId = this . _variableIdCounter ++ ;
389391 this . _contexts . set ( variableId , context ) ;
390- return new Scope ( context . name , variableId ) ;
392+ return new Scope ( this . _contextNames [ context . id ] , variableId ) ;
391393 } ) ;
392394 response . body = {
393395 scopes,
You can’t perform that action at this time.
0 commit comments