question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flavors: Cannot make debug stop in breakpoints

See original GitHub issue

Hello,

This issue was opened first at flutter repository. See here: Flavors: Cannot make debug stop in breakpoints. And I was instructed to open an issue here.

I’m using flavors. Flutter do not stops in breakpoints when debugging.

Steps to Reproduce

  1. Configure flutter with any kind of flavors
  2. Add some breakpoints
  3. run flutter with flavor: flutter run -t lib/main_dev.dart --debugt

Expected results: Stop in code breakpoints

image

Actual results: Run normally, but not stops on breakpoint

Logs
[  +51 ms] executing: [D:\Flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +311 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +5 ms] 0b8abb4724aa590dd0f429683339b1e045a1594d
[   +1 ms] executing: [D:\Flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +223 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.12.13+hotfix.8-0-g0b8abb472
[  +13 ms] executing: [D:\Flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +261 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] origin/stable
[        ] executing: [D:\Flutter\] git ls-remote --get-url origin
[ +201 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] https://github.com/flutter/flutter.git
[ +254 ms] executing: [D:\Flutter\] git rev-parse --abbrev-ref HEAD
[ +228 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[ +279 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[ +139 ms] Exit code 0 from: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[   +1 ms] List of devices attached
           192.168.248.101:5555   device product:vbox86p model:Google_Pixel_2 device:vbox86p transport_id:1
[  +31 ms] C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell getprop
[ +242 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +9 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +5 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +382 ms] Generating D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +73 ms] ro.hardware = vbox86
[        ] ro.build.characteristics = nosdcard
[ +108 ms] Launching lib/main_dev.dart on Google Pixel 2 in debug mode...
[  +16 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\build-tools\29.0.3\aapt dump xmltree
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\build\app\outputs\apk\app.apk AndroidManifest.xml
[ +140 ms] Exit code 0 from: C:\Users\Wemerson\AppData\Local\Android\Sdk\build-tools\29.0.3\aapt dump xmltree
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\build\app\outputs\apk\app.apk AndroidManifest.xml
[   +2 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.myapp" (Raw: "com.example.myapp")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="myapp" (Raw: "myapp")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.myapp.MainActivity" (Raw: "com.example.myapp.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: intent-filter (line=35)
                     E: action (line=36)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=38)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=45)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[  +22 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell -x logcat -v time -t 1
[ +109 ms] Exit code 0 from: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell -x logcat -v time -t 1
[   +1 ms] --------- beginning of main
           04-08 03:32:00.035 D/hwcomposer(  363): hw_composer sent 6 syncs in 60s
[  +12 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[   +2 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 logcat -v time -T 04-08 03:32:00.035
[ +147 ms] Android Debug Bridge version 1.0.41
                    Version 29.0.6-6198805
                    Installed as C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe
[   +8 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[ +176 ms] Building APK
[  +30 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] gradle.properties already sets `android.enableR8`
[   +7 ms] Using gradle from D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\android\gradlew.bat.
[  +19 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +245 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_212-release"
           OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
           OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
[   +6 ms] executing: [D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\android\]
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\android\gradlew.bat -Pverbose=true
-Ptarget=D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\lib/main_dev.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Ptarget-platform=android-x86 assembleDebug
[+4353 ms] Starting a Gradle Daemon, 4 busy Daemons could not be reused, use --status for details
[+22274 ms] > Task :app:compileFlutterBuildDebug
[   +2 ms] [  +45 ms] executing: [D:\Flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +295 ms] [ +328 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] [   +3 ms] 0b8abb4724aa590dd0f429683339b1e045a1594d
[   +2 ms] [        ] executing: [D:\Flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +197 ms] [ +215 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[   +2 ms] [        ] v1.12.13+hotfix.8-0-g0b8abb472
[   +1 ms] [  +21 ms] executing: [D:\Flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +296 ms] [ +241 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[   +1 ms] [        ] origin/stable
[   +1 ms] [        ] executing: [D:\Flutter\] git ls-remote --get-url origin
[ +196 ms] [ +189 ms] Exit code 0 from: git ls-remote --get-url origin
[   +1 ms] [        ] https://github.com/flutter/flutter.git
[ +298 ms] [ +286 ms] executing: [D:\Flutter\] git rev-parse --abbrev-ref HEAD
[ +200 ms] [ +222 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] [        ] stable
[   +1 ms] [  +34 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] [   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[   +1 ms] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +182 ms] [ +147 ms] Initializing file store
[   +2 ms] [  +42 ms] Done initializing file store
[+2697 ms] [+2667 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[   +2 ms] [  +33 ms] D:\Flutter\bin\cache\dart-sdk\bin\dart.exe D:\Flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\Flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter -Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation--no-link-platform --packages D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\.packages --output-dill
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\.dart_tool\flutter_build\995249f47d92d02729b85faed19c142b\app.dill --depfile
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\.dart_tool\flutter_build\995249f47d92d02729b85faed19c142b\kernel_snapshot.d
package:myapp/main_dev.dart
[+9897 ms] [+9840 ms] kernel_snapshot: Complete
[ +519 ms] [ +575 ms] invalidated build due to missing files: D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\assets\icons\Challenge, -, Copia.zip
[ +778 ms] [ +730 ms] debug_android_application: Starting due to {InvalidatedReason.inputChanged, InvalidatedReason.outputMissing, InvalidatedReason.inputMissing}
[ +999 ms] [+1002 ms] debug_android_application: Complete
[ +400 ms] [ +406 ms] Persisting file store
[ +102 ms] [  +91 ms] Done persisting file store
[   +5 ms] [  +13 ms] build succeeded.
[   +3 ms] [  +45 ms] "flutter assemble" took 15.851ms.
[ +388 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[   +2 ms] > Task :app:preBuild UP-TO-DATE
[   +1 ms] > Task :app:preDebugBuild UP-TO-DATE
[   +1 ms] > Task :app:checkDebugManifest UP-TO-DATE
[   +1 ms] > Task :app:compileDebugAidl NO-SOURCE
[   +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE
[  +94 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE
[ +100 ms] > Task :app:cleanMergeDebugAssets
[   +2 ms] > Task :app:mergeDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:compileDebugShaders UP-TO-DATE
[   +1 ms] > Task :app:generateDebugAssets UP-TO-DATE
[  +95 ms] > Task :app:mergeDebugAssets
[ +700 ms] > Task :app:copyFlutterAssetsDebug
[   +2 ms] > Task :app:mainApkListPersistenceDebug UP-TO-DATE
[   +3 ms] > Task :app:generateDebugResValues UP-TO-DATE
[   +2 ms] > Task :app:generateDebugResources UP-TO-DATE
[ +101 ms] > Task :app:mergeDebugResources UP-TO-DATE
[  +89 ms] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[   +2 ms] > Task :app:processDebugManifest UP-TO-DATE
[  +97 ms] > Task :app:processDebugResources UP-TO-DATE
[ +601 ms] > Task :app:compileDebugKotlin UP-TO-DATE
[   +7 ms] > Task :app:javaPreCompileDebug UP-TO-DATE
[   +2 ms] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[   +4 ms] > Task :app:compileDebugSources UP-TO-DATE
[ +116 ms] > Task :app:processDebugJavaRes NO-SOURCE
[   +2 ms] > Task :app:mergeDebugJavaResource UP-TO-DATE
[   +1 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[  +69 ms] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[  +92 ms] > Task :app:mergeExtDexDebug UP-TO-DATE
[ +100 ms] > Task :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:validateSigningDebug UP-TO-DATE
[   +1 ms] > Task :app:signingConfigWriterDebug UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[   +1 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[  +93 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[   +1 ms] Compatible side by side NDK version was not found.
[+2898 ms] > Task :app:packageDebug
[   +1 ms] > Task :app:assembleDebug
[ +106 ms] BUILD SUCCESSFUL in 48s
[   +3 ms] 30 actionable tasks: 5 executed, 25 up-to-date
[ +393 ms] Running Gradle task 'assembleDebug'... (completed in 50,2s)
[  +68 ms] calculateSha: LocalDirectory: 'D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\build\app\outputs\apk'/app.apk
[ +105 ms] calculateSha: reading file took 102us
[+1258 ms] calculateSha: computing sha took 1257us
[  +15 ms] √ Built build\app\outputs\apk\debug\app-debug.apk.
[   +7 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\build-tools\29.0.3\aapt dump xmltree
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\build\app\outputs\apk\app.apk AndroidManifest.xml
[  +77 ms] Exit code 0 from: C:\Users\Wemerson\AppData\Local\Android\Sdk\build-tools\29.0.3\aapt dump xmltree
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\build\app\outputs\apk\app.apk AndroidManifest.xml
[   +2 ms] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1c
               A: android:compileSdkVersionCodename(0x01010573)="9" (Raw: "9")
               A: package="com.example.myapp" (Raw: "com.example.myapp")
               A: platformBuildVersionCode=(type 0x10)0x1c
               A: platformBuildVersionName=(type 0x10)0x9
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1c
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=22)
                 A: android:label(0x01010001)="myapp" (Raw: "myapp")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:name(0x01010003)="io.flutter.app.FlutterApplication" (Raw: "io.flutter.app.FlutterApplication")
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=28)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.example.myapp.MainActivity" (Raw: "com.example.myapp.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: intent-filter (line=35)
                     E: action (line=36)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=38)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=45)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +7 ms] Stopping app 'app.apk' on Google Pixel 2.
[   +4 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell am force-stop com.example.myapp
[ +169 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell pm list packages com.example.myapp
[ +200 ms] package:com.example.myapp
[   +6 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell cat /data/local/tmp/sky.com.example.myapp.sha1
[ +161 ms] 5399dfa0c7de30bb9c4fc3e1eda9502af9fc9809
[   +1 ms] Installing APK.
[   +3 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe version
[  +76 ms] Android Debug Bridge version 1.0.41
           Version 29.0.6-6198805
           Installed as C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe
[   +2 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server
[  +89 ms] Installing build\app\outputs\apk\app.apk...
[   +2 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 install -t -r
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\build\app\outputs\apk\app.apk
[+6784 ms] Performing Streamed Install
                    Success
[   +1 ms] Installing build\app\outputs\apk\app.apk... (completed in 6,8s)
[   +5 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell echo -n 19e1e1f593fa98b66f7b5fad678447cdc0a47a1f >
/data/local/tmp/sky.com.example.myapp.sha1
[ +241 ms] Google Pixel 2 startApp
[   +3 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 shell am start -a android.intent.action.RUN -f 0x20000000 --ez
enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true
com.example.myapp/com.example.myapp.MainActivity
[ +428 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.myapp/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[ +977 ms] D/FlutterActivity(11026): Using the launch theme as normal theme.
[   +7 ms] D/FlutterActivityAndFragmentDelegate(11026): Setting up FlutterEngine.
[   +1 ms] D/FlutterActivityAndFragmentDelegate(11026): No preferred FlutterEngine was provided. Creating a new FlutterEngine for this FlutterFragment.
[+2322 ms] D/FlutterActivityAndFragmentDelegate(11026): Attaching FlutterEngine to the Activity that owns this Fragment.
[  +79 ms] D/FlutterView(11026): Attaching to a FlutterEngine: io.flutter.embedding.engine.FlutterEngine@2fe5cdf
[  +74 ms] D/FlutterActivityAndFragmentDelegate(11026): Executing Dart entrypoint: main, and sending initial route: /
[  +89 ms] Observatory URL on device: http://127.0.0.1:37710/mjqfKYmVQEg=/
[   +3 ms] executing: C:\Users\Wemerson\AppData\Local\Android\Sdk\platform-tools\adb.exe -s 192.168.248.101:5555 forward tcp:0 tcp:37710
[ +177 ms] 55795
[   +1 ms] Forwarded host port 55795 to device port 37710 for Observatory
[  +31 ms] Connecting to service protocol: http://127.0.0.1:55795/mjqfKYmVQEg=/
[ +935 ms] Successfully connected to service protocol: http://127.0.0.1:55795/mjqfKYmVQEg=/
[   +6 ms] Sending to VM service: getVM({})
[  +22 ms] Result: {type: VM, name: vm, architectureBits: 32, hostCPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, operatingSystem: android, targetCPU: ia32, version: 2.7.0 (Fri Dec 6
16:26:51 2019 +0100) on "android_ia32", _profilerMode: VM, _nativeZoneMemoryUsage: 0...
[  +14 ms] Sending to VM service: getIsolate({isolateId: isolates/2669964029536635})
[  +10 ms] Sending to VM service: _flutter.listViews({})
[  +51 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xec2c2710, isolate: {type: @Isolate, fixedId: true, id: isolates/2669964029536635, name:
main.dart$main-2669964029536635, number: 2669964029536635}}]}
[  +22 ms] DevFS: Creating new filesystem on the device (null)
[   +4 ms] Sending to VM service: _createDevFS({fsName: myapp})
[ +149 ms] Result: {type: Isolate, id: isolates/2669964029536635, name: main, number: 2669964029536635, _originNumber: 2669964029536635, startTime: 1586327632917, _heaps: {new: {type:
HeapSpace, name: new, vmName: Scavenger, collections: 2, avgCollectionPeriodMillis...
[ +231 ms] I/OpenGLRenderer(11026): Davey! duration=1405ms; Flags=1, IntendedVsync=32437315215139, Vsync=32438148548439, OldestInputEvent=9223372036854775807, NewestInputEvent=0,
HandleInputStart=32438159807305, AnimationStart=32438159885383, PerformTraversalsStart=32438159897920, DrawStart=32438188597903, SyncQueued=32438191672521, SyncStart=32438516468415,
IssueDrawCommandsStart=32438516689083, SwapBuffers=32438566475324, FrameCompleted=32439045499704, DequeueBufferDuration=331584000, QueueBufferDuration=496000, 
[  +57 ms] Result: {type: FileSystem, name: myapp, uri: file:///data/user/0/com.example.myapp/code_cache/myappZQEMTH/myapp/}
[   +1 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.myapp/code_cache/myappZQEMTH/myapp/)
[   +4 ms] Updating assets
[ +598 ms] Syncing files to device Google Pixel 2...
[   +3 ms] Scanning asset files
[  +14 ms] <- reset
[   +1 ms] Compiling dart to kernel with 0 updated files
[  +15 ms] D:\Flutter\bin\cache\dart-sdk\bin\dart.exe D:\Flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root
D:\Flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --incremental --target=flutter -Ddart.developer.causal_async_stacks=true --output-dill
C:\Users\Wemerson\AppData\Local\Temp\flutter_tool.f9a9e0f6-7989-11ea-a7a7-6432a84afca8\app.dill --packages
D:\DadosImportantes\dev\Projetos\WemersonRV\nudgecovid19\frontend\myapp\.packages -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts --track-widget-creation--filesystem-scheme org-dartlang-root
[  +15 ms] <- compile package:myapp/main_dev.dart
[ +276 ms] I/flutter (11026): -- AppModule INITIALIZED
[  +90 ms] I/flutter (11026): teste debug...
[ +701 ms] I/flutter (11026): -- HomeModule INITIALIZED
[  +18 ms] I/flutter (11026): -- SplashScreenModule INITIALIZED
[+2350 ms] I/flutter (11026): -- LoginModule INITIALIZED
[ +131 ms] I/flutter (11026): build login; largura: 411.42857142857144
[+1287 ms] I/flutter (11026): -- SplashScreenModule DISPOSED
[+6372 ms] Updating files
[+1372 ms] DevFS: Sync finished
[   +2 ms] Syncing files to device Google Pixel 2... (completed in 12.653ms, longer than expected)
[   +1 ms] Synced 11.6MB.
[   +2 ms] Sending to VM service: _flutter.listViews({})
[   +6 ms] Result: {type: FlutterViewList, views: [{type: FlutterView, id: _flutterView/0xec2c2710, isolate: {type: @Isolate, fixedId: true, id: isolates/2669964029536635, name:
main.dart$main-2669964029536635, number: 2669964029536635}}]}
[   +2 ms] <- accept
[        ] Connected to _flutterView/0xec2c2710.
[   +3 ms] �  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".
[   +2 ms] An Observatory debugger and profiler on Google Pixel 2 is available at: http://127.0.0.1:55795/mjqfKYmVQEg=/
[   +1 ms] For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
Analyzing myapp...

  info - Unused import: 'dart:math' - lib\app\shared\charts\graficos_home.dart:2:8 - unused_import
   info - Unused import: 'dart:math' - lib\app\shared\charts\graficos_top10.dart:2:8 - unused_import

2 issues found. (ran in 25.2s)
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [versão 10.0.17763.678], locale pt-BR)
    • Flutter version 1.12.13+hotfix.8 at D:\Flutter
    • Framework revision 0b8abb4724 (8 weeks ago), 2020-02-11 11:44:36 -0800
    • Engine revision e1e6ced81d
    • Dart version 2.7.0


[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Wemerson\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = C:\Users\Wemerson\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
    • All Android licenses accepted.

[√] Android Studio (version 3.6)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.43.2)
    • VS Code at C:\Users\Wemerson\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.9.1

[√] Connected device (1 available)
    • Google Pixel 2 • 192.168.248.101:5555 • android-x86 • Android 9 (API 28)

• No issues found

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, Apr 8, 2020

(I’ll close this one since the debugging issue is fixed, but do should if you hit that again!)

1reaction
DanTupcommented, Apr 8, 2020

Other information: When save dart files, this dialog shows and take a long period, and i have some other messages

That’s just been reported by someone else here:

https://github.com/Dart-Code/Dart-Code/issues/2341

Could you follow the instructions in that issue to capture a log (including hovering over type names when it’s stuck) and post there? Also include what OS you’re on (the other user is on Windows) and I’ll try to repro.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android Studio's debugger not stopping at breakpoints within ...
As the project just has one single activity class in the app module and everything else is provided within library modules in fact...
Read more >
Debugger Breakpoint - Altova MapForce 2023 Enterprise Edition
Conditional breakpoints stop the mapping execution only when the condition assigned to them is satisfied. Conditions take the form of MapForce built-in library ......
Read more >
Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >
Newcomers » Eclipse doesn't stop for breakpoints
I'm using eclipse with PyDev. I'm in debug perspective with the debug view open. I set a few breakpoints in my Python script...
Read more >
Debugging Flutter apps
DevTools; Setting breakpoints; The Dart analyzer; Logging; Debugging application ... If you use DevTools for profiling, make sure to run your application in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found