Flutter Engine Clang Version #54936
Labels
a: debugging
Debugging, breakpoints, expression evaluation
customer: bytedance
d: api docs
Issues with https://api.flutter.dev/
engine
flutter/engine repository. See also e: labels.
P2
Important issues not at the top of the work list
team-engine
Owned by Engine team
triaged-engine
Triaged by Engine team
I encounter a problem while debugging the engine:single-step debugging behaves abnormally.
When I take a look at assembly code,it is different between Flutter Clang and Xcode Clang.
For example,the assembly code for [FlutterEngine initWithName: project: allowHeadlessExecution]:
result.zip
It looks like that Flutter Clang has more assembly code,
I am confused now:
2.What is the role of redundant assembly code? Single-step debugging behaves normally when I
use the Xcode Clang.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.12.13+hotfix.7, on Mac OS X 10.14.6 18G4032, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.5)
[✓] Connected device (1 available)
Local Engine:
./flutter/tools/gn --runtime-mode=release --unopt
Xcode Clang Version:
Apple clang version 11.0.0 (clang-1100.0.33.17)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
The text was updated successfully, but these errors were encountered: