Issue |
139613
|
Summary |
lldb-dap says global scope with 10k+ variables is not expensive.
|
Labels |
new issue
|
Assignees |
|
Reporter |
otomn
|
lldb version 20.1.4
dap request
```
{"command":"scopes","arguments":{"frameId":6815744},"seq":8,"type":"request"}
```
dap response
```
{"body":{"scopes":[{"expensive":false,"name":"Locals","namedVariables":7,"presentationHint":"locals","variablesReference":1},{"expensive":false,"name":"Globals","namedVariables":11915,"variablesReference":2},{"expensive":false,"name":"Registers","namedVariables":2,"presentationHint":"registers","variablesReference":3}]},"command":"scopes","request_seq":8,"seq":0,"success":true,"type":"response"}
```
Expectation:
Globals should definitely be considered as expensive.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs