-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
Describe the bug
When running a program in debug mode, toString() only evaluates the first 11 values, rather than 100 as specified in the docs.
To Reproduce
- Override
toString()with a custom toString method on a custom class (e.g.Tokenclass) - Create a list of 100 instances of
Tokenand pause the debugger while the list of tokens are in scope.
Expected behavior
All 100 instances show the evaluated toString() value next to the list of each Token in the debugger.
Screenshots
Environment info
Workspace Environment
Dart Code extension: 3.83.20240207
Flutter extension: 3.83.20240201 (activated)
App: Visual Studio Code
App Host: desktop
Version: mac 1.86.2
Workspace type: Dart (LSP)
Dart (3.3.0): /Users/pattobrien/.fvm/versions/stable/bin/cache/dart-sdk
Flutter (3.19.0): /Users/pattobrien/.fvm/versions/stable (No device)
Output from 'dart info'
/Users/pattobrien/.fvm/versions/stable/bin/cache/dart-sdk/bin/dart info
If providing this information as part of reporting a bug, please review the information
below to ensure it only contains things you're comfortable posting publicly.
General info
- Dart 3.3.0 (stable) (Tue Feb 13 10:25:19 2024 +0000) on "macos_arm64"
- on macos / Version 13.5.2 (Build 22G91)
- locale is en-US
Project info
- sdk constraint: '^3.3.0'
- dependencies: antlr4, code_builder, collection, dart_style, dio, file, petitparser
- dev_dependencies: lints, test
- elided dependencies: 1
Process info
| Memory | CPU | Elapsed time | Command line |
|---|---|---|---|
| 34 MB | 0.0% | 34:31 | dart --enable-vm-service=0 --pause_isolates_on_start --disable-dart-dev -DSILENT_VM_SERVICE=true --write-service-info=file:/vm.json --pause_isolates_on_exit --enable-asserts /main_custom_scanner.dart |
| 24 MB | 0.0% | 34:31 | dart debug_adapter |
| 312 MB | 0.0% | 36:13 | dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.83.20240207 |
| 6 MB | 0.0% | 06-20:05:43 | dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.83.20240207 |
| 8 MB | 0.0% | 06-20:04:39 | dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.83.20240207 |
| 249 MB | 0.0% | 10:25 | dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.83.20240207 |
| 236 MB | 0.0% | 38:53 | dart language-server --protocol=lsp --client-id=VS-Code --client-version=3.83.20240207 |
Metadata
Metadata
Assignees
Labels
in debuggingRelates to the debug adapter or process of running debug sessionsRelates to the debug adapter or process of running debug sessionsis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
