Repository navigation
Immediate debugger call prevents output of dart vm url, and cannot be used anyway #17372
Copy link
Copy link
Closed
Closed
Copy link
Labels
a: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Steps to Reproduce
- flutter create debugger_test
- add to start of build function "debugger()"
@override
Widget build(BuildContext context) {
debugger();
- flutter run
Output of that:
Launching lib/main.dart on Pixel 2 XL in debug mode...
Initializing gradle... 0.7s
Resolving dependencies... 0.8s
Running 'gradlew assembleDebug'... 7.2s
Built build\app\outputs\apk\debug\app-debug.apk.
Installing build\app\outputs\apk\app.apk... 6.8s
I/FlutterActivityDelegate( 6913): onResume setting current activity to this
Error connecting to the service protocol: TimeoutException: Request to Dart VM Service timed out: _flutter.listViews({})
The last bit takes forever to output.
Additionally, if you pull the url out of the verbose output, and open it it doesn't load.
Logs
[ +52 ms] [C:\lib\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[ +60 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] fatal: HEAD does not point to a branch
[ ] [C:\lib\flutter\] git rev-parse --abbrev-ref HEAD
[ +28 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] HEAD
[ ] [C:\lib\flutter\] git log -n 1 --pretty=format:%H
[ +27 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[ ] 7984f6e043ee661b420e70c72241973c676034e5
[ ] [C:\lib\flutter\] git log -n 1 --pretty=format:%ar
[ +27 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[ ] 3 days ago
[ ] [C:\lib\flutter\] git describe --match v*.*.* --first-parent --long --tags
[ +31 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[ ] v0.4.0-0-g7984f6e04
[ +259 ms] C:\lib\android-sdk\platform-tools\adb devices -l
[ +16 ms] Exit code 0 from: C:\lib\android-sdk\platform-tools\adb devices -l
[ ] List of devices attached
711KPAE0911960 device product:taimen model:Pixel_2_XL device:taimen transport_id:1
[ +172 ms] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 shell getprop
[ +125 ms] ro.hardware = taimen
[ ] ro.build.characteristics = nosdcard
[ +574 ms] Launching lib/main.dart on Pixel 2 XL in debug mode...
[ +7 ms] Initializing gradle...
[ ] Using gradle from C:\dev\breakpoint_test\android\gradlew.bat.
[ +130 ms] C:\dev\breakpoint_test\android\gradlew.bat -v
[ +520 ms]
------------------------------------------------------------
Gradle 4.1
------------------------------------------------------------
Build time: 2017-08-07 14:38:48 UTC
Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2
Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b02)
OS: Windows 10 10.0 amd64
[ +1 ms] Resolving dependencies...
[ ] [android\] C:\dev\breakpoint_test\android\gradlew.bat app:properties
[ +782 ms] :app:properties
------------------------------------------------------------
Project :app
------------------------------------------------------------
allprojects: [project ':app']
android: com.android.build.gradle.AppExtension_Decorated@71b055b8
androidDependencies: task ':app:androidDependencies'
ant: org.gradle.api.internal.project.DefaultAntBuilder@69f24ce9
antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@fec77b1
archivesBaseName: app
artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@406953de
asDynamicObject: DynamicObject for project ':app'
assemble: task ':app:assemble'
assembleAndroidTest: task ':app:assembleAndroidTest'
assembleDebug: task ':app:assembleDebug'
assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest'
assembleDebugUnitTest: task ':app:assembleDebugUnitTest'
assembleProfile: task ':app:assembleProfile'
assembleProfileUnitTest: task ':app:assembleProfileUnitTest'
assembleRelease: task ':app:assembleRelease'
assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest'
baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@3307c3fe
buildDependents: task ':app:buildDependents'
buildDir: C:\dev\breakpoint_test\build\app
buildFile: C:\dev\breakpoint_test\android\app\build.gradle
buildNeeded: task ':app:buildNeeded'
buildOutputs: BaseVariantOutput container
buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@48e94473
buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@2454f320
bundleAppClassesDebug: task ':app:bundleAppClassesDebug'
bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest'
bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest'
bundleAppClassesProfile: task ':app:bundleAppClassesProfile'
bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest'
bundleAppClassesRelease: task ':app:bundleAppClassesRelease'
bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest'
check: task ':app:check'
checkDebugManifest: task ':app:checkDebugManifest'
checkProfileManifest: task ':app:checkProfileManifest'
checkReleaseManifest: task ':app:checkReleaseManifest'
childProjects: {}
class: class org.gradle.api.internal.project.DefaultProject_Decorated
classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@2e29a3d7
cleanBuildCache: task ':app:cleanBuildCache'
compileDebugAidl: task ':app:compileDebugAidl'
compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl'
compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac'
compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk'
compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript'
compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders'
compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources'
compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac'
compileDebugNdk: task ':app:compileDebugNdk'
compileDebugRenderscript: task ':app:compileDebugRenderscript'
compileDebugShaders: task ':app:compileDebugShaders'
compileDebugSources: task ':app:compileDebugSources'
compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac'
compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources'
compileLint: task ':app:compileLint'
compileProfileAidl: task ':app:compileProfileAidl'
compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac'
compileProfileNdk: task ':app:compileProfileNdk'
compileProfileRenderscript: task ':app:compileProfileRenderscript'
compileProfileShaders: task ':app:compileProfileShaders'
compileProfileSources: task ':app:compileProfileSources'
compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac'
compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources'
compileReleaseAidl: task ':app:compileReleaseAidl'
compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac'
compileReleaseNdk: task ':app:compileReleaseNdk'
compileReleaseRenderscript: task ':app:compileReleaseRenderscript'
compileReleaseShaders: task ':app:compileReleaseShaders'
compileReleaseSources: task ':app:compileReleaseSources'
compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac'
compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources'
components: SoftwareComponentInternal set
configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@23bc9ddf
configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@21f48f07
configurations: configuration container
connectedAndroidTest: task ':app:connectedAndroidTest'
connectedCheck: task ':app:connectedCheck'
connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest'
consumeConfigAttr: task ':app:consumeConfigAttr'
convention: org.gradle.api.internal.plugins.DefaultConvention@22baa5ea
copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug'
copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile'
copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease'
createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests'
createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests'
createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests'
defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@416e8d71
defaultTasks: []
deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@6fba2e6
dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@3729989
depth: 1
description: null
deviceAndroidTest: task ':app:deviceAndroidTest'
deviceCheck: task ':app:deviceCheck'
displayName: project ':app'
distsDir: C:\dev\breakpoint_test\build\app\distributions
distsDirName: distributions
docsDir: C:\dev\breakpoint_test\build\app\docs
docsDirName: docs
ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@7410f9f8
extensions: org.gradle.api.internal.plugins.DefaultConvention@22baa5ea
extractProguardFiles: task ':app:extractProguardFiles'
fileOperations: org.gradle.api.internal.file.DefaultFileOperations@41a0e70e
fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@1a97914e
flutter: FlutterExtension_Decorated@dbeed44
flutterBuildDebug: task ':app:flutterBuildDebug'
flutterBuildProfile: task ':app:flutterBuildProfile'
flutterBuildRelease: task ':app:flutterBuildRelease'
flutterBuildX86Jar: task ':app:flutterBuildX86Jar'
generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets'
generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig'
generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues'
generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources'
generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources'
generateDebugAssets: task ':app:generateDebugAssets'
generateDebugBuildConfig: task ':app:generateDebugBuildConfig'
generateDebugResValues: task ':app:generateDebugResValues'
generateDebugResources: task ':app:generateDebugResources'
generateDebugSources: task ':app:generateDebugSources'
generateProfileAssets: task ':app:generateProfileAssets'
generateProfileBuildConfig: task ':app:generateProfileBuildConfig'
generateProfileResValues: task ':app:generateProfileResValues'
generateProfileResources: task ':app:generateProfileResources'
generateProfileSources: task ':app:generateProfileSources'
generateReleaseAssets: task ':app:generateReleaseAssets'
generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig'
generateReleaseResValues: task ':app:generateReleaseResValues'
generateReleaseResources: task ':app:generateReleaseResources'
generateReleaseSources: task ':app:generateReleaseSources'
gradle: build 'android'
group: android
identityPath: :app
inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@7e120a32
installDebug: task ':app:installDebug'
installDebugAndroidTest: task ':app:installDebugAndroidTest'
installProfile: task ':app:installProfile'
installRelease: task ':app:installRelease'
javaPreCompileDebug: task ':app:javaPreCompileDebug'
javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest'
javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest'
javaPreCompileProfile: task ':app:javaPreCompileProfile'
javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest'
javaPreCompileRelease: task ':app:javaPreCompileRelease'
javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest'
layout: org.gradle.api.internal.file.DefaultProjectLayout@38cc0a69
libsDir: C:\dev\breakpoint_test\build\app\libs
libsDirName: libs
lint: task ':app:lint'
lintDebug: task ':app:lintDebug'
lintProfile: task ':app:lintProfile'
lintRelease: task ':app:lintRelease'
lintVitalRelease: task ':app:lintVitalRelease'
logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@51b27ab7
logging: org.gradle.internal.logging.services.DefaultLoggingManager@1ef7f1df
mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets'
mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders'
mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources'
mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders'
mergeDebugAssets: task ':app:mergeDebugAssets'
mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders'
mergeDebugResources: task ':app:mergeDebugResources'
mergeDebugShaders: task ':app:mergeDebugShaders'
mergeProfileAssets: task ':app:mergeProfileAssets'
mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders'
mergeProfileResources: task ':app:mergeProfileResources'
mergeProfileShaders: task ':app:mergeProfileShaders'
mergeReleaseAssets: task ':app:mergeReleaseAssets'
mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders'
mergeReleaseResources: task ':app:mergeReleaseResources'
mergeReleaseShaders: task ':app:mergeReleaseShaders'
mockableAndroidJar: task ':app:mockableAndroidJar'
modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@64d9eb88
modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@c4ed151
module: org.gradle.api.internal.artifacts.ProjectBackedModule@1bd84a50
name: app
normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@a742ebb
objects: org.gradle.api.internal.model.DefaultObjectFactory@1399f402
org.gradle.jvmargs: -Xmx1536M
packageDebug: task ':app:packageDebug'
packageDebugAndroidTest: task ':app:packageDebugAndroidTest'
packageProfile: task ':app:packageProfile'
packageRelease: task ':app:packageRelease'
parent: root project 'android'
parentIdentifier: root project 'android'
path: :app
platformAttrExtractor: task ':app:platformAttrExtractor'
pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@52b3f2de
plugins: [org.gradle.api.plugins.HelpTasksPlugin@72407471, com.android.build.gradle.api.AndroidBasePlugin@61d37b67, org.gradle.language.base.plugins.LifecycleBasePlugin@42e86f3a, org.gradle.api.plugins.BasePlugin@1594cea1, org.gradle.api.plugins.ReportingBasePlugin@362923ed, org.gradle.platform.base.plugins.ComponentBasePlugin@7ecb18e3, org.gradle.language.base.plugins.LanguageBasePlugin@1827a9c, org.gradle.platform.base.plugins.BinaryBasePlugin@7147b9f4, org.gradle.api.plugins.JavaBasePlugin@14f751c, com.android.build.gradle.internal.coverage.JacocoPlugin@401b8396, com.android.build.gradle.AppPlugin@2e950701, FlutterPlugin@ae94a]
preBuild: task ':app:preBuild'
preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild'
preDebugBuild: task ':app:preDebugBuild'
preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild'
preProfileBuild: task ':app:preProfileBuild'
preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild'
preReleaseBuild: task ':app:preReleaseBuild'
preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild'
prepareLintJar: task ':app:prepareLintJar'
processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes'
processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest'
processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources'
processDebugJavaRes: task ':app:processDebugJavaRes'
processDebugManifest: task ':app:processDebugManifest'
processDebugResources: task ':app:processDebugResources'
processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes'
processOperations: org.gradle.api.internal.file.DefaultFileOperations@41a0e70e
processProfileJavaRes: task ':app:processProfileJavaRes'
processProfileManifest: task ':app:processProfileManifest'
processProfileResources: task ':app:processProfileResources'
processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes'
processReleaseJavaRes: task ':app:processReleaseJavaRes'
processReleaseManifest: task ':app:processReleaseManifest'
processReleaseResources: task ':app:processReleaseResources'
processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes'
project: project ':app'
projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@736b885e
projectDir: C:\dev\breakpoint_test\android\app
projectEvaluationBroadcaster: ProjectEvaluationListener broadcast
projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@58c5b810
projectPath: :app
projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@736f5445
properties: {...}
providers: org.gradle.api.internal.provider.DefaultProviderFactory@1b0292f0
reporting: org.gradle.api.reporting.ReportingExtension_Decorated@3e877df4
reportsDir: C:\dev\breakpoint_test\build\app\reports
repositories: repository container
resolveConfigAttr: task ':app:resolveConfigAttr'
resources: org.gradle.api.internal.resources.DefaultResourceHandler@11013b02
rootDir: C:\dev\breakpoint_test\android
rootProject: root project 'android'
scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@64f1040a
scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@6d35a9ad
serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@68d80122
services: ProjectScopeServices
signingReport: task ':app:signingReport'
sourceCompatibility: 1.8
sourceSets: SourceSet container
splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug'
splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest'
splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile'
splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease'
standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@1ef7f1df
state: project state 'EXECUTED'
status: integration
subprojects: []
targetCompatibility: 1.8
tasks: task set
test: task ':app:test'
testDebugUnitTest: task ':app:testDebugUnitTest'
testProfileUnitTest: task ':app:testProfileUnitTest'
testReleaseUnitTest: task ':app:testReleaseUnitTest'
testReportDir: C:\dev\breakpoint_test\build\app\reports\tests
testReportDirName: tests
testResultsDir: C:\dev\breakpoint_test\build\app\test-results
testResultsDirName: test-results
transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug'
transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest'
transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile'
transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease'
transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug'
transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest'
transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile'
transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'
transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest'
transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile'
transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease'
transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug'
transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest'
transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile'
transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease'
transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug'
transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest'
transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest'
transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile'
transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest'
transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease'
transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest'
uninstallAll: task ':app:uninstallAll'
uninstallDebug: task ':app:uninstallDebug'
uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest'
uninstallProfile: task ':app:uninstallProfile'
uninstallRelease: task ':app:uninstallRelease'
validateSigningDebug: task ':app:validateSigningDebug'
validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest'
validateSigningProfile: task ':app:validateSigningProfile'
validateSigningRelease: task ':app:validateSigningRelease'
version: unspecified
writeDebugApplicationId: task ':app:writeDebugApplicationId'
writeProfileApplicationId: task ':app:writeProfileApplicationId'
writeReleaseApplicationId: task ':app:writeReleaseApplicationId'
BUILD SUCCESSFUL in 0s
1 actionable task: 1 executed
[ +11 ms] C:\lib\android-sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ +8 ms] Exit code 0 from: C:\lib\android-sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ ] package: name='com.example.breakpointtest' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'breakpoint_test'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='breakpoint_test' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.breakpointtest.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ +7 ms] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 logcat -v time -t 1
[ +109 ms] Exit code 0 from: C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 logcat -v time -t 1
[ ] --------- beginning of main
05-07 19:22:37.052 E/QtiImsExtUtils( 1785): isCarrierConfigEnabled bundle is null
[ +3 ms] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 logcat -v time
[ +317 ms] DependencyChecker: nothing is modified after 2018-05-07 19:20:26.000.
[ +4 ms] C:\lib\android-sdk\platform-tools\adb version
[ +18 ms] Android Debug Bridge version 1.0.39
Version 0.0.1-4500957
Installed as C:\lib\android-sdk\platform-tools\adb.EXE
[ +3 ms] C:\lib\android-sdk\platform-tools\adb start-server
[ +22 ms] Building APK
[ +7 ms] Running 'gradlew assembleDebug'...
[ +2 ms] [android\] C:\dev\breakpoint_test\android\gradlew.bat -Ptarget=C:\dev\breakpoint_test\lib/main.dart -Ppreview-dart-2=true -Ptarget-platform=android-arm64 assembleDebug
[ +771 ms] :app:preBuild UP-TO-DATE
[ +8 ms] :app:preDebugBuild UP-TO-DATE
[ ] :app:compileDebugAidl UP-TO-DATE
[ ] :app:compileDebugRenderscript UP-TO-DATE
[ ] :app:flutterBuildX86Jar UP-TO-DATE
[ ] :app:checkDebugManifest UP-TO-DATE
[ ] :app:generateDebugBuildConfig UP-TO-DATE
[ ] :app:prepareLintJar UP-TO-DATE
[ +9 ms] :app:cleanMergeDebugAssets
[+1514 ms] :app:flutterBuildDebug
[ ] Skipping compilation. Fingerprint match.
[ +424 ms] :app:mergeDebugShaders UP-TO-DATE
[ ] :app:compileDebugShaders UP-TO-DATE
[ ] :app:generateDebugAssets UP-TO-DATE
[ ] :app:mergeDebugAssets
[ +139 ms] :app:copyFlutterAssetsDebug
[ ] :app:generateDebugResValues UP-TO-DATE
[ ] :app:generateDebugResources UP-TO-DATE
[ ] :app:mergeDebugResources UP-TO-DATE
[ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE
[ ] :app:processDebugManifest UP-TO-DATE
[ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE
[ +9 ms] :app:processDebugResources UP-TO-DATE
[ ] :app:generateDebugSources UP-TO-DATE
[ ] :app:javaPreCompileDebug UP-TO-DATE
[ ] :app:compileDebugJavaWithJavac UP-TO-DATE
[ ] :app:compileDebugNdk NO-SOURCE
[ ] :app:compileDebugSources UP-TO-DATE
[ +9 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE
[ ] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE
[ +10 ms] :app:mergeDebugJniLibFolders UP-TO-DATE
[ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE
[ ] :app:processDebugJavaRes NO-SOURCE
[ ] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
[ ] :app:validateSigningDebug
[ +9 ms] :app:packageDebug UP-TO-DATE
[ ] :app:assembleDebug UP-TO-DATE
[ ] BUILD SUCCESSFUL in 2s
[ ] 29 actionable tasks: 5 executed, 24 up-to-date
[ +436 ms] calculateSha: C:\dev\breakpoint_test\build\app\outputs\apk/app.apk
[+1022 ms] Built build\app\outputs\apk\debug\app-debug.apk.
[ ] C:\lib\android-sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ +12 ms] Exit code 0 from: C:\lib\android-sdk\build-tools\27.0.3\aapt dump badging build\app\outputs\apk\app.apk
[ ] package: name='com.example.breakpointtest' versionCode='1' versionName='1.0' platformBuildVersionName=''
sdkVersion:'16'
targetSdkVersion:'27'
uses-permission: name='android.permission.INTERNET'
application-label:'breakpoint_test'
application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png'
application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png'
application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png'
application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png'
application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png'
application: label='breakpoint_test' icon='res/mipmap-mdpi-v4/ic_launcher.png'
application-debuggable
launchable-activity: name='com.example.breakpointtest.MainActivity' label='' icon=''
feature-group: label=''
uses-feature: name='android.hardware.faketouch'
uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
main
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320' '480' '640'
native-code: 'arm64-v8a' 'x86' 'x86_64'
[ +1 ms] Stopping app 'app.apk' on Pixel 2 XL.
[ ] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 shell am force-stop com.example.breakpointtest
[ +158 ms] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 shell pm list packages com.example.breakpointtest
[ +326 ms] package:com.example.breakpointtest
[ +2 ms] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 shell cat /data/local/tmp/sky.com.example.breakpointtest.sha1
[ +35 ms] b2b8f73498d3cc407c89a464ae5a8fe345a45eee
[ ] Latest build already installed.
[ ] Pixel 2 XL startApp
[ +1 ms] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 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 com.example.breakpointtest/com.example.breakpointtest.MainActivity
[ +73 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.breakpointtest/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[ +237 ms] I/FlutterActivityDelegate( 6329): onResume setting current activity to this
[ +94 ms] Observatory URL on device: http://127.0.0.1:38092/
[ +10 ms] C:\lib\android-sdk\platform-tools\adb -s 711KPAE0911960 forward tcp:8111 tcp:38092
[ +19 ms] Forwarded host port 8111 to device port 38092 for Observatory
[ +6 ms] Connecting to service protocol: http://127.0.0.1:8111/
[ +230 ms] Successfully connected to service protocol: http://127.0.0.1:8111/
[ +3 ms] getVM: {}
[ +13 ms] getIsolate: {isolateId: isolates/30978052}
[ +2 ms] _flutter.listViews: {}
#0 throwToolExit (package:flutter_tools/src/base/common.dart:28)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:405)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
<asynchronous suspension>
#3 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#4 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#5 _rootRun (dart:async/zone.dart:1126)
#6 _CustomZone.run (dart:async/zone.dart:1023)
#7 runZoned (dart:async/zone.dart:1501)
#8 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#9 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#10 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#11 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
<asynchronous suspension>
#12 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#13 _rootRun (dart:async/zone.dart:1126)
#14 _CustomZone.run (dart:async/zone.dart:1023)
#15 runZoned (dart:async/zone.dart:1501)
#16 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#17 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
<asynchronous suspension>
#18 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#19 new Future.sync (dart:async/future.dart:222)
#20 CommandRunner.run (package:args/command_runner.dart:109)
#21 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
#22 run.<anonymous closure> (package:flutter_tools/runner.dart:54)
<asynchronous suspension>
#23 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#24 _rootRun (dart:async/zone.dart:1126)
#25 _CustomZone.run (dart:async/zone.dart:1023)
#26 runZoned (dart:async/zone.dart:1501)
#27 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#28 runInContext (package:flutter_tools/src/context_runner.dart:42)
<asynchronous suspension>
#29 run (package:flutter_tools/runner.dart:49)
#30 main (package:flutter_tools/executable.dart:48)
<asynchronous suspension>
#31 main (file:///C:/lib/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#32 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
No issues found!
Ran in 5.1s
[√] Flutter (Channel unknown, v0.4.0, on Microsoft Windows [Version 10.0.17134.5], locale en-US)
• Flutter version 0.4.0 at C:\lib\flutter
• Framework revision 7984f6e043 (3 days ago), 2018-05-04 10:48:06 -0700
• Engine revision e976be13c5
• Dart version 2.0.0-dev.53.0.flutter-e6d7d67f4b
[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
• Android SDK at C:\lib\android-sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-P, build-tools 27.0.3
• ANDROID_HOME = C:\lib\android-sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
• All Android licenses accepted.
[√] Android Studio (version 3.1)
• Android Studio at C:\Program Files\Android\Android Studio
X Flutter plugin not installed; this adds Flutter specific functionality.
• Dart plugin version 143.1566
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
[!] IntelliJ IDEA Community Edition (version 2016.3)
• IntelliJ at C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.3.2
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
X This install is older than the minimum recommended version of 2017.1.0.
[√] VS Code, 64-bit edition (version 1.22.2)
• VS Code at C:\Program Files\Microsoft VS Code
• Dart Code extension version 2.12.1
[√] Connected devices (1 available)
• Pixel 2 XL • 711KPAE0911960 • android-arm64 • Android 8.1.0 (API 27)
! Doctor found issues in 1 category
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a: debuggingDebugging, breakpoints, expression evaluationDebugging, breakpoints, expression evaluationc: crashStack traces logged to the consoleStack traces logged to the consoleengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.toolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Activity
[-]Immediate debugger call prevents output of dart vm url[/-][+]Immediate debugger call prevents output of dart vm url, and cannot be used anyway[/+]zoechi commentedon Feb 25, 2019
flutter runin the terminal printsin IntelliJ I only get
zoechi commentedon Feb 25, 2019
@csga5000 can you still reproduce?
csga5000 commentedon Mar 18, 2019
@zoechi While I was definitely having the issue a year ago - I haven't seen as many issues with debugging in flutter as I was seeing back then.
It sounds like you went through the steps I mentioned so I'd assume the issue is fixed. I'm fine closing this
github-actions commentedon Aug 15, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.