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 run in Profile mode (the old version of the plugin supported this)

See original GitHub issue

Thanks for the feedback! If your issue is related to the Flutter framework itself, please open an issue at github.com/flutter/flutter.

Steps to Reproduce

Use the plugin. Originally there is an item called “profile” in the menu shown below. But now it disappears.

image

Version info

Please paste the output of running flutter doctor -v here (available from the command line or from Tools > Flutter > Flutter Doctor). It will provide the version of the Flutter framework as well as of the IntelliJ plugin.

[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.7 19H524 darwin-x64,
    locale zh-Hans-CN)
    • Flutter version 2.0.1 at /Users/tom/opt/flutter
    • Framework revision c5a4b4029c (10 天前), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/tom/Library/Android/sdk
    • Platform android-30, build-tools 29.0.3
    • ANDROID_SDK_ROOT = /Users/tom/Library/Android/sdk
    • Java binary at: /Users/tom/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.4, Build version 12D4e
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Users/tom/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android
      Studio.app/Contents
    • 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
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2020.3)
    • IntelliJ at /Users/tom/Applications/JetBrains Toolbox/IntelliJ IDEA
      Ultimate.app
    • 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

[✓] VS Code (version 1.53.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.20.0

[✓] Connected device (3 available)
    • JSN AL00a (mobile) • 7XBNW19215005473                     • android-arm64
      • Android 10 (API 29)
    • iPhone 12 (mobile) • CDA2111E-9DD3-4A29-91E1-280C5CF35ED9 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
    • Chrome (web)       • chrome                               • web-javascript
      • Google Chrome 89.0.4389.82

• No issues found!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
stevemessickcommented, Mar 17, 2021

I’d try disabling all optional plugins except Flutter and Dart, restart, and see if the menus recover. You may need to do the invalidate-caches-and-restart thing. Or, if that seems like over-kill, rename .idea/workspace.xml before restarting. I think that’s where menu modifications are saved, but might have it wrong.

0reactions
fzyzcjycommented, Mar 18, 2021

@stevemessick Thanks for the suggestion! I will have a try

Read more comments on GitHub >

github_iconTop Results From Across the Web

ios - Flutter - Can't run profile mode in emulator - Stack Overflow
Profile mode is disabled to running in emulators and simulators. If you would like to test anything in this mode you need a...
Read more >
App works in debug mode but does not work in release mode
I am making a chat app..with firebase and CloudFirestore...in debug mode the app is working fine ..the chat and all is loading but...
Read more >
Known issues with Android Studio and Android Gradle Plugin
Android Studio doesn't start after installing version 4.2. Studio tries to import previous .vmoptions and sanitize them to work with the garbage collector...
Read more >
Tutorial: Debug a plug-in (Microsoft Dataverse) - Power Apps
The plug-in profiler captures a profile of an executing plug-in and ... see that the Plug-in Registration tool is now running in debug...
Read more >
Command: init | Terraform - HashiCorp Developer
This is the first command that should be run after writing a new Terraform configuration or ... This special mode of operation supports...
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