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.

Cannot attach debugger

See original GitHub issue

Steps to Reproduce

I’ve already opened a issue on Flutter GitHub but they weren’t very useful. When I try to lauch my application in debug mode, it seems like lauching normally. The applicaion skips all the breakpoints without any error and the application doesn’t wait for debugger.

Version info

Flutter doctor:

[√] Flutter (Channel beta, v0.10.2, on Microsoft Windows [Versione 10.0.17134.345], locale it-IT)
    • Flutter version 0.10.2 at C:\flutter
    • Framework revision d8cbb80206 (2 weeks ago), 2018-10-26 01:30:21 -0400
    • Engine revision 6c2ade9fa2
    • Dart version 2.1.0-dev.8.0.flutter-bf26f760b1

[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at C:\Users\strez\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[√] Android Studio (version 3.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 30.0.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[√] VS Code (version 1.28.2)
    • VS Code at C:\Users\strez\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 2.20.0

[√] Connected device (1 available)
    • ONEPLUS A6003 • a5e445e6 • android-arm64 • Android 9 (API 28)

Also Flutter Plugin version: 30.0.1

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:6
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Errichamondacommented, Apr 26, 2019

@spagni @VyasPrachi Sorry, the problem disappeared after some times and after I changed the project structure to have less subfolder. Probably it’s a folder/file name problem.

1reaction
acouttscommented, Jun 1, 2020

I’m also experiencing this in VSCode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Attach to the Process - Visual Studio (Windows)
Run the debugger and managed application under the same user account name and password. To solve Scenario 2. From the Start menu, choose...
Read more >
Can't attach Android Studio's debugger to Android process
12 Answers 12 · Kill all adb processes (use ps -x | grep adb and kill -9 [process id] ) · adb start-server...
Read more >
Cannot attach debugger to Helper app on macOS
I've got a macOS app with a "Helper" (LoginItem) app that I'd like to attach the debugger to in order to debug the...
Read more >
Can't attach the VS debugger to IIS process. Getting "A fatal ...
Have web application running 2. Attempt to attach VS debugger to the process w3wp.exe 3. Error dialog is displayed that says "A fatal...
Read more >
Cannot attach debugger to script · Issue #24 - GitHub
(around 20seconds) Starting C# application and attaching debugger with breakpoint before first Execution When breakpoint hits we lunch VSCode de...
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