New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caught exceptions being treated as uncaught exceptions in some IDEs (?) #129121
Comments
@darshankawar No it doesn't help, because I am in the case where I check "Uncaught Exceptions", not "All Exceptions" |
Thanks for the update @vermefr
|
Yes, same problem with Channel master, 3.12.0-7.0.pre.44. $ flutter doctor -v [√] Windows Version (Installed version of Windows is version 10 or higher) [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [√] Chrome - develop for the web [√] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.4.3) [√] Android Studio (version 2020.3) [√] VS Code (version 1.79.2) [√] Connected device (3 available) [√] Network resources • No issues found! |
Hi @vermefr |
I have three servers hosted by different companies. All 3 cause this error. |
Me and my team have been experiencing sporadic failed host lookup error responses. Most of the time the HTTP calls will return OK, but sometimes we get this error back. This occurs with our own endpoint calls, but also when calling other external API's, so it seems to be a wider issue. |
Thanks for the update. Based on our findings, keeping this issue open for team's attention and tracking. |
/cc @DanTup for thoughts. |
I will note though that we have been having the sporadic failed host lookup issue for a few months, so for us it wasn't introduced as part of 3.12. |
I don't seem to be able to reproduce the issue described here. I've tried with both stable and beta, but with "Uncaught Exceptions" ticked and "All Exceptions" unticked, the debugger does not break.
For those that are seeing this issue, can you confirm:
|
Correction, I can reproduce this on Windows. It seems like the exception is being treated as uncaught, even though it is caught. I don't know why this is, it might someone more familiar with the VM/debugger to look at this. Here's a log of all the VM Service traffic: It was reproduced running the following Dart script (using the SDK from Flutter 3.12.0): import 'package:http/http.dart' as http;
Future<void> main() async {
try {
var response = await http.get(Uri.parse('https://www.mycadwork.com'));
print(response.statusCode);
} catch (e) {
print(e.toString());
}
} The log shows the debugger stop with a But the exception pause mode was set to unhandled:
I wonder if it could be related to dart-lang/sdk#47985 ? |
i got the same issue! Windows 11 pro |
also happens on android (for me) |
I have the same issue. Only happens to me when I launch the app from VSCode. When I run it from the command line it works fine. |
/cc @DanTup for thoughts on above comment. |
Same issue running flutter_map package from vscode in Windows (windows-x64) debug mode. Just created a new application using the "Flutter: New Project", Application (Empty), entered: With only "uncaught exceptions" ticked I also get a SocketException "Failed host lookup: 'tile.openstreetmap.org'" "The requested name is valid, but no data of the requested type was found.", errno = 11004 in L520 of dart:io-patch\socket_patch.dart (same location as reported by @drocha87) Also runs fine in both debug and run from flutter run command (and build). Unchecking both "All" and "Uncaught" breakpoints options in the debugger lets the program run without issue. I'm using stable Flutter 3.13.0 (I've not tried on earlier versions) |
I think there are a couple of different issues that might be described above. They look very similar, but have different causes. I suspect they are covered by:
The first one I think is absolutely a bug. The second one is probably just behaviour that is not ideal - many users debug with "All Exceptions" ticked in the VS Code debugger which causes the debugger to pause on exceptions even if they will be caught. This is by design, but I think generally users want "pause on exceptions even if they will be caught if they are in my code". The simplest workaround is to untick "All Exceptions" and only break on "Uncaught Exceptions" unless you are specifically trying to debug something related to a caught exception. Breaking only on "Uncaught Exceptions" is the default in VS Code, and the option I would recommend for general development. |
Why is this issue now in latest stable, how did it slip through from beta to stable?? |
btw, 3.13.0 |
Same issue here, after update from 3.10.6 to 3.13.0 |
yeah, this makes developing annoying, because every time you wanna debug something that makes a web request you cant debug it in vscode but gotta do flutter run... |
You should be able to run without debugging by using the Run options (instead of Debug) in VS Code (which should be the same as You should also be able to untick both "All Exceptions" and "Uncaught Exceptions" on the sidebar and get similar behaviour. However my understanding was that there are two issues here, and the issue with web requests only occurs if you have "All Exceptions" ticked on the debug sidebar (instead of just "Uncaught exceptions"). If that's not the case, I'd be interested in a small (but complete) repro I can use to test. |
Downgrading to flutter 3.10.6 resolves this issue. |
I am facing the same problem after upgrading to 3.13 |
i found this exception raised when we made request to website that doesn't ready for IPv6. For example :
Related closed issue here #50868 and has been fixed on iOS, maybe, thats why it only appear on android. |
I'm getting this on Windows, so it's not just limited to android. |
I am getting the same message after upgrading to 3.13 |
Fundamentally this issue is not likely to make much progress where currently filed, since it is not one that any member of the Flutter team can fix directly, but is instead an issue in the underlying Dart VM. I am going to close it because we believe it is a duplicate of dart-lang/sdk#47985, which already tracks that particular bug. For changes to the IDEs, I recommend filing a bug with the IDEs or the relevant plugins. For other changes to Dart's VM logic, I recommend filing bugs on the Dart SDK. |
I opened dart-lang/sdk#53334 specifically for this issue. It seems to be slightly different from dart-lang/sdk#47985 and seems newly-introduced in Dart 3.1. |
Same issue after update to 3.13.0 |
same here too T.T |
same issue here too , the thing is it work normal in a local server. |
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 |
Is there an existing issue for this?
Steps to reproduce
I've got an issue with flutter beta "3.12.0".
I was on "3.11.0-0.1.pre" just before, without any trouble.
Expected results
Access to my webpage, without any uncaught exception under VS code.
Actual results
IMPORTANT NOTES:
The command "flutter run" does not report any exception !
The exception I get is reported by VS code only.
I didn't update any VS code extension when switching to beta v3.12.0.
And If I roll back to flutter beta "3.11.0-0.1.pre", I get no more exception.
If I uncheck "Uncaught Exceptions" in VS code, everything works fine (i.e. I get a correct response from my server).
My VS code installation info:
Version: 1.79.2 (user setup)
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Date: 2023-06-14T08:57:04.379Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.22621
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
$ flutter --verbose run
[ +2 ms] executing: [C:\sdk\flutter/] git -c log.showSignature=false log -n 1
--pretty=format:%H
[ +35 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[ ] 8fcb74d
[ ] executing: [C:\sdk\flutter/] git tag --points-at
8fcb74d
[ +43 ms] Exit code 0 from: git tag --points-at
8fcb74d
[ ] 3.12.0
[ +1 ms] executing: [C:\sdk\flutter/] git symbolic-ref --short HEAD
[ +30 ms] Exit code 0 from: git symbolic-ref --short HEAD
[ ] beta
[ +33 ms] executing: [C:\sdk\flutter/] git rev-parse --abbrev-ref --symbolic
@{upstream}
[ +31 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[ ] origin/beta
[ ] executing: [C:\sdk\flutter/] git ls-remote --get-url origin
[ +21 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +61 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[ ] 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.
[ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping
update.
[ +1 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.
[ +40 ms] executing:
C:\Users\Vermeeren\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[ +50 ms] List of devices attached
[ +5 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required,
skipping update.
[ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required,
skipping update.
[ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping
update.
[ +6 ms] 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.
[ +50 ms] Connected devices:
[ +38 ms] Windows (desktop) • windows • windows-x64 • Microsoft Windows [version
10.0.22621.1848]
[ +1 ms] Chrome (web) • chrome • web-javascript • Google Chrome
114.0.5735.134
[ ] Edge (web) • edge • web-javascript • Microsoft Edge
114.0.1823.43
[ ] [1]: Windows (windows)
[ ] [2]: Chrome (chrome)
[ ] [3]: Edge (edge)
[ ] Please choose one (or "q" to quit)
[ ] :
[+2919 ms] 1
[ +8 ms] Skipping pub get: version match.
[ +111 ms] Generating
C:\dev\bug\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.jav
a
[ +58 ms] Initializing file store
[ +6 ms] Skipping target: gen_localizations
[ +3 ms] gen_dart_plugin_registrant: Starting due to
{InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
C:\dev\bug.dart_tool\package_config_subset}
[ +19 ms] gen_dart_plugin_registrant: Complete
[ +2 ms] Skipping target: composite
[ +1 ms] complete
[ +3 ms] Launching lib\main.dart on Windows in debug mode...
[ +2 ms] C:\sdk\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev
C:\sdk\flutter\bin\cache\dart-sdk\bin\snapshots\frontend_server.dart.snapshot
--sdk-root C:\sdk\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/
--incremental --target=flutter --experimental-emit-debug-metadata
-DFLUTTER_WEB_AUTO_DETECT=true
-DFLUTTER_WEB_CANVASKIT_URL=https://www.gstatic.com/flutter-canvaskit/b84ad1ad30cca8d
303b4bcb2bbd77573e4d66122/ --output-dill
C:\Users\VERMEE~1\AppData\Local\Temp\flutter_tools.142e2496\flutter_tool.81f39807\app
.dill --packages C:\dev\bug.dart_tool\package_config.json -Ddart.vm.profile=false
-Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme
org-dartlang-root --initialize-from-dill
build\7117432e74e2f2e34e74e17214c7f7a9.cache.dill.track.dill --verbosity=error
--enable-experiment=alternative-invalidation-strategy
[ +16 ms] executing: C:\Program Files (x86)\Microsoft Visual
Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16
-requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[ +93 ms] Exit code 0 from: C:\Program Files (x86)\Microsoft Visual
Studio\Installer\vswhere.exe -format json -products * -utf8 -latest -version 16
-requires Microsoft.VisualStudio.Workload.NativeDesktop
Microsoft.VisualStudio.Component.VC.Tools.x86.x64
Microsoft.VisualStudio.Component.VC.CMake.Project
[ +1 ms] [
{
"instanceId": "e8193b0a",
"installDate": "2022-12-09T14:51:59Z",
"installationName": "VisualStudio/17.4.3+33205.214",
"installationPath": "C:\Program Files\Microsoft Visual
Studio\2022\Professional",
"installationVersion": "17.4.33205.214",
"productId": "Microsoft.VisualStudio.Product.Professional",
"productPath": "C:\Program Files\Microsoft Visual
Studio\2022\Professional\Common7\IDE\devenv.exe",
"state": 4294967295,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Professional 2022",
"description": "IDE professionnel, mieux adapté aux petites équipes",
"channelId": "VisualStudio.17.Release",
"channelUri": "https://aka.ms/vs/17/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual
Studio\Installer\resources\app\ServiceHub\Services\Microsoft.Vis
ualStudio.Setup.Service",
"installedChannelId": "VisualStudio.17.Release",
"installedChannelUri": "https://aka.ms/vs/17/release/channel",
"releaseNotes":
"https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-n
otes-v17.4#17.4.3",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=661288",
"updateDate": "2022-12-14T17:57:26.5755317Z",
"catalog": {
"buildBranch": "d17.4",
"buildVersion": "17.4.33205.214",
"id": "VisualStudio/17.4.3+33205.214",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "17.4.3",
"productLine": "Dev17",
"productLineVersion": "2022",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "3",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "17.4.3+33205.214",
"requiredEngineVersion": "3.4.2246.31370"
},
"properties": {
"campaignId": "2030:77827f000966409a8c673a108dfb88f6",
"channelManifestId": "VisualStudio.17.Release/17.4.3+33205.214",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual
Studio\Installer\setup.exe"
}
}
]
[ +5 ms] Building Windows application...
[ +22 ms] <- compile package:bug/main.dart
[ +1 ms] executing: C:\Program Files\Microsoft Visual
Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
.exe -S C:\dev\bug\windows -B build\windows -G Visual Studio 17 2022
[ +64 ms] -- Configuring done
[ +61 ms] -- Generating done
[ +4 ms] -- Build files have been written to: C:/dev/bug/build/windows
[ +5 ms] executing: C:\Program Files\Microsoft Visual
Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
.exe --build build\windows --config Debug --target INSTALL --verbose
[ +84 ms] MSBuild version 17.4.1+9a89d02ff for .NET Framework
[ +33 ms] La g�n�ration a d�marr� 19/06/2023 16:03:22.
[ +157 ms] Projet "C:\dev\bug\build\windows\INSTALL.vcxproj" sur le noud 1 (cibles
par d�faut).
[ +1 ms] Le projet "C:\dev\bug\build\windows\INSTALL.vcxproj" (1) g�n�re
"C:\dev\bug\build\windows\ZERO_CHECK.vcxproj" (2) sur le noud 1 (cibles par d�faut).
[ ] InitializeBuildStatus:
[ ] Cr�ation de "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild",
car "AlwaysCreate" a �t� sp�cifi�.
[ +16 ms] CustomBuild:
[ +1 ms] Toutes les sorties sont � jour.
[ +27 ms] FinalizeBuildStatus:
[ +1 ms] Suppression du fichier
"x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
[ ] Mise � jour de l'horodatage
"x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
[ ] G�n�ration du projet "C:\dev\bug\build\windows\ZERO_CHECK.vcxproj"
termin�e (cibles par d�faut).
[ +69 ms] Le projet "C:\dev\bug\build\windows\INSTALL.vcxproj" (1) g�n�re
"C:\dev\bug\build\windows\ALL_BUILD.vcxproj" (3) sur le noud 1 (cibles par d�faut).
[ ] Le projet "C:\dev\bug\build\windows\ALL_BUILD.vcxproj" (3) g�n�re
"C:\dev\bug\build\windows\runner\bug.vcxproj" (4) sur le noud 1 (cibles par d�faut).
[ ] Le projet "C:\dev\bug\build\windows\runner\bug.vcxproj" (4) g�n�re
"C:\dev\bug\build\windows\flutter\flutter_assemble.vcxproj" (5) sur le noud 1 (cibles
par d�faut).
[ ] InitializeBuildStatus:
[ ] Cr�ation de
"x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild", car
"AlwaysCreate" a �t� sp�cifi�.
[ +4 ms] CustomBuild:
[ ] "La build de
'C:\dev\bug\build\windows\CMakeFiles\aa3978711c58e79f360c60f2dd94963e\flutter_assembl
e.rule' d�pend de 'C:\DEV\BUG\WINDOWS\FLUTTER\EPHEMERAL\FLUTTER_WINDOWS.DLL', qui est
produit par la build de
'C:\dev\bug\build\windows\CMakeFiles\62e5acad4dde840a317f2c699bd08690\flutter_windows
.dll.rule'. Impossible de g�n�rer les �l�ments en parall�le."
[ +71 ms] Generating C:/dev/bug/windows/flutter/ephemeral/flutter_windows.dll,
C:/dev/bug/windows/flutter/ephemeral/flutter_export.h,
C:/dev/bug/windows/flutter/ephemeral/flutter_windows.h,
C:/dev/bug/windows/flutter/ephemeral/flutter_messenger.h,
C:/dev/bug/windows/flutter/ephemeral/flutter_plugin_registrar.h,
C:/dev/bug/windows/flutter/ephemeral/flutter_texture_registrar.h,
C:/dev/bug/windows/flutter/ephemeral/cpp_client_wrapper/core_implementations.cc,
C:/dev/bug/windows/flutter/ephemeral/cpp_client_wrapper/standard_codec.cc,
C:/dev/bug/windows/flutter/ephemeral/cpp_client_wrapper/plugin_registrar.cc,
C:/dev/bug/windows/flutter/ephemeral/cpp_client_wrapper/flutter_engine.cc,
C:/dev/bug/windows/flutter/ephemeral/cpp_client_wrapper/flutter_view_controller.cc,
phony
[ +348 ms] [ +1 ms] executing: [C:\sdk\flutter/] git -c log.showSignature=false
log -n 1 --pretty=format:%H
[ +32 ms] [ +41 ms] Exit code 0 from: git -c log.showSignature=false log -n 1
--pretty=format:%H
[ ] [ ] 8fcb74d
[ ] [ ] executing: [C:\sdk\flutter/] git tag --points-at
8fcb74d
[ +38 ms] [ +38 ms] Exit code 0 from: git tag --points-at
8fcb74d
[ ] [ ] 3.12.0
[ ] [ +1 ms] executing: [C:\sdk\flutter/] git symbolic-ref --short HEAD
[ +34 ms] [ +34 ms] Exit code 0 from: git symbolic-ref --short HEAD
[ ] [ ] beta
[ +43 ms] [ +43 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[ ] [ ] 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.
[ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not
required, skipping update.
[ ] [ +1 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.
[ +63 ms] [ +65 ms] Artifact Instance of 'MaterialFonts' is not required,
skipping update.
[ +1 ms] [ ] Artifact Instance of 'GradleWrapper' is not required,
skipping update.
[ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not
required, skipping update.
[ ] [ ] 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.
[ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not
required, skipping update.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping
update.
[ ] [ +2 ms] 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.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[ +1 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required,
skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required,
skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required,
skipping update.
[ +19 ms] [ +26 ms] Initializing file store
[ +10 ms] [ +10 ms] Done initializing file store
[ +29 ms] [ +28 ms] Skipping target: gen_localizations
[ +8 ms] [ +8 ms] Skipping target: gen_dart_plugin_registrant
[+2117 ms] [+2117 ms] Skipping target: unpack_windows
[ +306 ms] [ +306 ms] Skipping target: kernel_snapshot
[ +165 ms] [ +165 ms] Skipping target: debug_bundle_windows_assets
[ ] [ ] Persisting file store
[ +7 ms] [ +8 ms] Done persisting file store
[ +3 ms] [ +3 ms] build succeeded.
[ +6 ms] [ +5 ms] "flutter assemble" took 2 757ms.
[ +264 ms] [ +264 ms] ensureAnalyticsSent: 256ms
[ ] [ ] Running 0 shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +59 ms] FinalizeBuildStatus:
[ ] Suppression du fichier
"x64\Debug\flutter_assemble\flutter_assemble.tlog\unsuccessfulbuild".
[ ] Mise � jour de l'horodatage
"x64\Debug\flutter_assemble\flutter_assemble.tlog\flutter_assemble.lastbuildstate".
[ ] G�n�ration du projet
"C:\dev\bug\build\windows\flutter\flutter_assemble.vcxproj" termin�e (cibles par
d�faut).
[ +18 ms] Le projet "C:\dev\bug\build\windows\runner\bug.vcxproj" (4) g�n�re
"C:\dev\bug\build\windows\flutter\flutter_wrapper_app.vcxproj" (6) sur le noud 1
(cibles par d�faut).
[ ] InitializeBuildStatus:
[ ] Cr�ation de
"flutter_wrapper_app.dir\Debug\flutter.4548071F.tlog\unsuccessfulbuild", car
"AlwaysCreate" a �t� sp�cifi�.
[ ] CustomBuild:
[ ] Toutes les sorties sont � jour.
[ +38 ms] ClCompile:
[ ] Toutes les sorties sont � jour.
[ +15 ms] Lib:
[ +1 ms] Toutes les sorties sont � jour.
[ ] flutter_wrapper_app.vcxproj ->
C:\dev\bug\build\windows\flutter\Debug\flutter_wrapper_app.lib
[ +8 ms] FinalizeBuildStatus:
[ ] Suppression du fichier
"flutter_wrapper_app.dir\Debug\flutter_.4548071F.tlog\unsuccessfulbuild".
[ ] Mise � jour de l'horodatage
"flutter_wrapper_app.dir\Debug\flutter_.4548071F.tlog\flutter_wrapper_app.lastbuildst
ate".
[ ] G�n�ration du projet
"C:\dev\bug\build\windows\flutter\flutter_wrapper_app.vcxproj" termin�e (cibles par
d�faut).
[ +4 ms] InitializeBuildStatus:
[ ] Cr�ation de "bug.dir\Debug\bug.tlog\unsuccessfulbuild", car
"AlwaysCreate" a �t� sp�cifi�.
[ +1 ms] CustomBuild:
[ ] Toutes les sorties sont � jour.
[ +16 ms] ClCompile:
[ ] C:\Program Files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\CL.exe /c
/IC:\dev\bug\windows /IC:\dev\bug\windows\flutter\ephemeral
/IC:\dev\bug\windows\flutter\ephemeral\cpp_client_wrapper\include /Zi /nologo /W4 /WX
/diagnostics:column /Od /Ob0 /D _UNICODE /D UNICODE /D WIN32 /D _WINDOWS /D
HAS_EXCEPTIONS=0 /D DEBUG /D "FLUTTER_VERSION="1.0.0+1"" /D
FLUTTER_VERSION_MAJOR=1 /D FLUTTER_VERSION_MINOR=0 /D FLUTTER_VERSION_PATCH=0 /D
FLUTTER_VERSION_BUILD=1 /D NOMINMAX /D UNICODE /D UNICODE /D
"CMAKE_INTDIR="Debug"" /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t
/Zc:forScope /Zc:inline /GR /std:c++17 /Fo"bug.dir\Debug\"
/Fd"bug.dir\Debug\vc143.pdb" /external:W4 /Gd /TP /wd4100 /errorReport:queue
C:\dev\bug\windows\flutter\generated_plugin_registrant.cc
C:\dev\bug\windows\runner\flutter_window.cpp
[ +48 ms] generated_plugin_registrant.cc
[ +258 ms] flutter_window.cpp
[ +505 ms] G�n�ration de code en cours...
[ +62 ms] ResourceCompile:
[ ] Toutes les sorties sont � jour.
[ +23 ms] Link:
[ ] C:\Program Files\Microsoft Visual
Studio\2022\Professional\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\link.exe
/ERRORREPORT:QUEUE /OUT:"C:\dev\bug\build\windows\runner\Debug\bug.exe" /INCREMENTAL
/ILK:"bug.dir\Debug\bug.ilk" /NOLOGO ..\flutter\Debug\flutter_wrapper_app.lib
dwmapi.lib C:\dev\bug\windows\flutter\ephemeral\flutter_windows.dll.lib kernel32.lib
user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'"
/manifest:embed /manifestinput:C:\dev\bug\windows\runner\runner.exe.manifest /DEBUG
/PDB:"C:/dev/bug/build/windows/runner/Debug/bug.pdb" /SUBSYSTEM:WINDOWS /TLBID:1
/DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/dev/bug/build/windows/runner/Debug/bug.lib"
/MACHINE:X64 /machine:x64 bug.dir\Debug\Runner.res
[ +1 ms] bug.dir\Debug\flutter_window.obj
[ ] bug.dir\Debug\main.obj
[ ] bug.dir\Debug\utils.obj
[ ] bug.dir\Debug\win32_window.obj
[ ] bug.dir\Debug\generated_plugin_registrant.obj
[ +151 ms] bug.vcxproj -> C:\dev\bug\build\windows\runner\Debug\bug.exe
[ +4 ms] FinalizeBuildStatus:
[ ] Suppression du fichier "bug.dir\Debug\bug.tlog\unsuccessfulbuild".
[ ] Mise � jour de l'horodatage "bug.dir\Debug\bug.tlog\bug.lastbuildstate".
[ ] G�n�ration du projet "C:\dev\bug\build\windows\runner\bug.vcxproj"
termin�e (cibles par d�faut).
[ +18 ms] Le projet "C:\dev\bug\build\windows\ALL_BUILD.vcxproj" (3) g�n�re
"C:\dev\bug\build\windows\flutter\flutter_wrapper_plugin.vcxproj" (7) sur le noud 1
(cibles par d�faut).
[ ] InitializeBuildStatus:
[ ] Cr�ation de
"flutter_wrapper_plugin.dir\Debug\flutter.7388F585.tlog\unsuccessfulbuild", car
"AlwaysCreate" a �t� sp�cifi�.
[ ] CustomBuild:
[ ] Toutes les sorties sont � jour.
[ +14 ms] ClCompile:
[ ] Toutes les sorties sont � jour.
[ +2 ms] Lib:
[ ] Toutes les sorties sont � jour.
[ ] flutter_wrapper_plugin.vcxproj ->
C:\dev\bug\build\windows\flutter\Debug\flutter_wrapper_plugin.lib
[ +4 ms] FinalizeBuildStatus:
[ ] Suppression du fichier
"flutter_wrapper_plugin.dir\Debug\flutter.7388F585.tlog\unsuccessfulbuild".
[ ] Mise � jour de l'horodatage
"flutter_wrapper_plugin.dir\Debug\flutter.7388F585.tlog\flutter_wrapper_plugin.lastb
uildstate".
[ ] G�n�ration du projet
"C:\dev\bug\build\windows\flutter\flutter_wrapper_plugin.vcxproj" termin�e (cibles
par d�faut).
[ +5 ms] InitializeBuildStatus:
[ ] Cr�ation de "x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild", car
"AlwaysCreate" a �t� sp�cifi�.
[ +1 ms] CustomBuild:
[ ] Toutes les sorties sont � jour.
[ +5 ms] FinalizeBuildStatus:
[ ] Suppression du fichier
"x64\Debug\ALL_BUILD\ALL_BUILD.tlog\unsuccessfulbuild".
[ ] Mise � jour de l'horodatage
"x64\Debug\ALL_BUILD\ALL_BUILD.tlog\ALL_BUILD.lastbuildstate".
[ ] G�n�ration du projet "C:\dev\bug\build\windows\ALL_BUILD.vcxproj" termin�e
(cibles par d�faut).
[ +6 ms] InitializeBuildStatus:
[ ] Cr�ation de "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild", car
"AlwaysCreate" a �t� sp�cifi�.
[ +43 ms] PostBuildEvent:
[ ] setlocal
[ ] "C:\Program Files\Microsoft Visual
Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
[ ] if %errorlevel% neq 0 goto :cmEnd
[ ] :cmEnd
[ ] endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
[ ] :cmErrorLevel
[ ] exit /b %1
[ ] :cmDone
[ ] if %errorlevel% neq 0 goto :VCEnd
[ ] :VCEnd
[ +49 ms] -- Install configuration: "Debug"
[ +1 ms] -- Up-to-date: C:/dev/bug/build/windows/runner/Debug/data/icudtl.dat
[ ] -- Up-to-date: C:/dev/bug/build/windows/runner/Debug/flutter_windows.dll
[ +6 ms] -- Installing: C:/dev/bug/build/windows/runner/Debug/data/flutter_assets
[ ] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/AssetManifest.json
[ +1 ms] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/AssetManifest.smcbin
[ +1 ms] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/FontManifest.json
[ +1 ms] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/fonts
[ ] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/fonts/MaterialIcons-Regular
.otf
[ +5 ms] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/kernel_blob.bin
[ +92 ms] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/NOTICES.Z
[ +1 ms] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/packages
[ ] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons
[ ] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/as
sets
[ ] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/packages/cupertino_icons/as
sets/CupertinoIcons.ttf
[ +1 ms] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/shaders
[ ] -- Installing:
C:/dev/bug/build/windows/runner/Debug/data/flutter_assets/shaders/ink_sparkle.frag
[ +10 ms] FinalizeBuildStatus:
[ ] Suppression du fichier
"x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
[ ] Mise � jour de l'horodatage
"x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
[ ] G�n�ration du projet "C:\dev\bug\build\windows\INSTALL.vcxproj" termin�e
(cibles par d�faut).
[ +2 ms] La g�n�ration a r�ussi.
[ ] 0 Avertissement(s)
[ ] 0 Erreur(s)
[ ] Temps �coul� 00:00:05.39
[ +17 ms] Building Windows application... (completed in 5,7s)
[ +2 ms] √ Built build\windows\runner\Debug\bug.exe.
[ +213 ms] VM Service URL on device: http://127.0.0.1:64212/M84e-Myvm6U=/
[ +2 ms] Caching compiled dill
[ +19 ms] Connecting to service protocol: http://127.0.0.1:64212/M84e-Myvm6U=/
[ +80 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0,
connecting to VM service at http://127.0.0.1:64212/M84e-Myvm6U=/.
[ +45 ms] DDS is listening at http://127.0.0.1:64215/kTR3J4a2tgQ=/.
[ +42 ms] Successfully connected to service protocol:
http://127.0.0.1:64212/M84e-Myvm6U=/
[ +32 ms] DevFS: Creating new filesystem on the device (null)
[ +11 ms] DevFS: Created new filesystem on the device
(file:///C:/Users/VERMEE~1/AppData/Local/Temp/bug5c75e357/bug/)
[ +1 ms] Updating assets
[ +60 ms] Syncing files to device Windows...
[ +1 ms] Compiling dart to kernel with 0 updated files
[ ] Processing bundle.
[ +1 ms] <- recompile package:bug/main.dart 78408bd8-4a7d-4f74-a3fb-2effbad9ac9a
[ ] <- 78408bd8-4a7d-4f74-a3fb-2effbad9ac9a
[ +1 ms] Bundle processing done.
[ +59 ms] Updating files.
[ ] DevFS: Sync finished
[ ] Syncing files to device Windows... (completed in 66ms)
[ ] Synced 0.0MB.
[ ] <- accept
[ +3 ms] Connected to _flutterView/0x1fb95323fc0.
[ +1 ms] Flutter run key commands.
[ +1 ms] r Hot reload.
[ ] R Hot restart.
[ ] h List all available interactive commands.
[ ] d Detach (terminate "flutter run" but leave application running).
[ ] c Clear the screen
[ ] q Quit (terminate the application on the device).
[ ] A Dart VM Service on Windows is available at:
http://127.0.0.1:64215/kTR3J4a2tgQ=/
[ +12 ms] The Flutter DevTools debugger and profiler on Windows is available at:
http://127.0.0.1:9102?uri=http://127.0.0.1:64215/kTR3J4a2tgQ=/
[+3800 ms] flutter: 200
Flutter Doctor output
Doctor output
[√] Flutter (Channel beta, 3.12.0, on Microsoft Windows [version 10.0.22621.1848],
locale fr-FR)
• Flutter version 3.12.0 on channel beta at C:\sdk\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 8fcb74d (11 days ago), 2023-06-08 13:37:31 -0600
• Engine revision b84ad1ad30
• Dart version 3.1.0 (build 3.1.0-163.1.beta)
• DevTools version 2.24.0
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\Vermeeren\AppData\Local\Android\sdk
• Platform android-31, build-tools 31.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Professional 2022 17.4.3)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Professional
• Visual Studio Professional 2022 version 17.4.33205.214
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2020.3)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• android-studio-dir = C:\Program Files\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[√] VS Code (version 1.79.2)
• VS Code at C:\Users\Vermeeren\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.54.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [version
10.0.22621.1848]
• Chrome (web) • chrome • web-javascript • Google Chrome 114.0.5735.134
• Edge (web) • edge • web-javascript • Microsoft Edge 114.0.1823.43
[√] Network resources
• All expected network resources are available.
• No issues found!
The text was updated successfully, but these errors were encountered: