Skip to content

StackTrace with Chain.capture is not showing all line numbers #1839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jodinathan opened this issue Dec 6, 2018 · 2 comments
Closed

StackTrace with Chain.capture is not showing all line numbers #1839

jodinathan opened this issue Dec 6, 2018 · 2 comments

Comments

@jodinathan
Copy link
Contributor

https://stackoverflow.com/questions/53641701/stacktrace-is-not-showing-line-numbers-for-every-point

I am using Chain.capture(() {...}); to execute async functions in Dart, but some points in StackTrace are not showing the line number, and those lines are the ones I need to debug :D
What can I do to see all line numbers?

Dart 2.1, VM

dart:async                                                      _completeOnAsyncReturn
package:oni_server/src/executor/executor.dart                   Executor.find
dart:async                                                      _completeOnAsyncReturn
package:oni_server/src/executor/executor.dart                   Executor.findMap
===== asynchronous gap ===========================
dart:async                                                      _AsyncAwaitCompleter.completeError
package:guaraci_tracker/visitor.dart                            Visitor.answered
===== asynchronous gap ===========================
dart:async                                                      _asyncThenWrapperHelper
package:guaraci_tracker/visitor.dart                            Visitor.answered
package:guaraci_tracker/visitor.dart 479:9                      Visitor.command
===== asynchronous gap ===========================
dart:async                                                      _asyncThenWrapperHelper
package:oni_server/src/socket/base_user.dart                    BaseSocketUser.process
bin/main.dart 18:18                                             main.<fn>.<fn>.<fn>
package:stack_trace                                             Chain.capture
bin/main.dart 17:13                                             main.<fn>.<fn>
@derolf
Copy link

derolf commented Mar 2, 2021

Any update?

@osa1
Copy link
Member

osa1 commented Sep 19, 2024

Does this still happen with Dart SDK 3.5.2?

If it does, please feel free to reopen with a repro.

@osa1 osa1 closed this as completed Sep 19, 2024
@mosuem mosuem transferred this issue from dart-archive/stack_trace Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants