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.

update the behavior of the run and debug buttons

See original GitHub issue

We should update the behavior of the run and debug buttons to address some UX issues:

  • the run button should be changed from executing flutter run --release to flutter run (just like the current debug button) (#445)
  • the run button should not set breakpoints and not break on exceptions (it’s the same as the debug button, but without debuggability)
  • we contribute a hot reload and a restart app button to the run toolbar; these should likely be visible when the currently selected config is hot reloadable (or when the device chooser is visible)
  • when an app is executing, the run and debug buttons become disabled (the launch config reports that it can’t run if any running apps were launched from that config)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
alexander-doroshkocommented, Nov 3, 2016

Make sure that you do not modify Run/Debug icons and behavior if currently selected run configuration in the combo box is not the one that you want to hot reload or whatever. It is a valid use case:

  • select ‘MyFlutterApp1 (debug)’ in the combo box, Debug it
  • select not related ‘Some Java Server’ run config, Run or Debug it
  • etc.
  • select ‘MyFlutterApp1 (debug)’ again. Hot reload it
1reaction
devoncarewcommented, Dec 19, 2016

I updated the main description above to list what we’ve already done here and what more is planned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why does debug start button change? - Visual Studio Feedback
The green button text changes to represent the debugging engine or host that will run alongside the startup project. If your startup project...
Read more >
UiPath v2019.8.0 running by default in debug mode - Help
Hi there, I have a trouble in a project, when i´m running a main.xaml from a .bat, it runs in debug mode by...
Read more >
First look at the debugger - Visual Studio (Windows)
Click the Run to Click (Run execution to here) button. The debugger advances to the line of code where you clicked. Advance the...
Read more >
Step through the program | IntelliJ IDEA Documentation
The stepping buttons are located on the Debug window toolbar. ... From the main menu, select Run | Debugging Actions | Smart Step...
Read more >
Android Studio Run and Debug Button - Stack Overflow
When trying to run an app and the build fails the Run button becomes ... I've never experierenced this behavior, but if you...
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