Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit71027d2

Browse files
committed
Examine scopes only within specific super-scopes, like with items.
1 parenta3c8178 commit71027d2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎src/cxxrtl/proto.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export type ScopeDescriptionMap = {
108108
exporttypeCommandListScopes={
109109
type:'command';
110110
command:'list_scopes';
111+
scope:null|string;
111112
};
112113

113114
exporttypeResponseListScopes={

‎src/debug/session.ts‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export class Session {
6464
if(scopeDescriptionMap===undefined){
6565
constresponse=awaitthis.connection.listScopes({
6666
type:'command',
67-
command:'list_scopes'
68-
// FIXME: should be possible to filter by scope, too
67+
command:'list_scopes',
68+
scope:scopeIdentifier,
6969
});
7070
constfilteredScopes=Object.keys(response.scopes).filter((scopeName)=>{
7171
if(scopeIdentifier===''){
@@ -104,7 +104,8 @@ export class Session {
104104
if(this.rootScopeDesc===undefined){
105105
constresponse=awaitthis.connection.listScopes({
106106
type:'command',
107-
command:'list_scopes'
107+
command:'list_scopes',
108+
scope:scopeName,
108109
});
109110
this.rootScopeDesc=response.scopes[scopeName];
110111
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp