我正在使用Chain.capture(() {...});
在Dart中执行异步功能,但是StackTrace中的某些点未显示行号,而这些行是我需要调试的行:D
如何查看所有行号?
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>