mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This adds a gn flag (--backtrace, --no-backtrace) that defaults to enabling backtraces, which drives a gn variable `enable_backtrace` which is defaulted true for debug builds. Backtrace collection is supported on Windows, and on POSIX-like operating systems via execinfo.h. execinfo support exists in Android, macOS/iOS, and in glibc and uclibc on Linux. musl libc notably does not include execinfo support, so this provides an escape hatch to build with backtrace_stub.cc for situations in which compile time support doesn't exist. Proposed as an alternative to https://github.com/flutter/engine/pull/40958 by @selfisekai. Issue: https://github.com/flutter/flutter/issues/124285
Description
Flutter makes it easy and fast to build beautiful apps for mobile and beyond
androidapp-frameworkcross-platformdartdart-platformdesktopflutterflutter-packagefuchsiaioslinux-desktopmacosmaterial-designmobilemobile-developmentskiawebweb-frameworkwindows
2.5 GiB
Languages
Dart
75%
C++
16.5%
Objective-C++
2.9%
Java
2.8%
Objective-C
0.7%
Other
1.9%