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.

Automating re-runs

See original GitHub issue

Much of my workflow is: run __main__, edit .py files, restart kernel, repeat. The “restart kernel” + “run” or “debug + continue until breakpoint” steps typically elapse 10 seconds, which really adds up over time; it’d be nicer if I could issue a single command to do all these steps and force window focus back on Spyder (like it already does when continuing until breakpoint) when finished, while I tab to other windows.

Is there something like this already in Spyder (if not, I suggest it as a feature), or does anyone happen to know how to macro such a thing? Thanks


Note: while a kernel restart isn’t required to refresh .py files, I found the autoreload feature to be not reliable at times, so a kernel restart is the only way to be sure.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Apr 1, 2020

Thanks for understanding!

0reactions
OverLordGoldDragoncommented, Apr 1, 2020

@ccordoba12 Understandable, thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatic Reruns — pyATS Documentation - DevNet
Automatic Reruns ¶. Rerun Plugin provides an important functionality that allows users to rerun some of their testcases. These testcases are determined ...
Read more >
Re-run an automation - Seven Bridges
This call re-runs a specified automation run. This call is useful in case you want to use most of the inputs and settings...
Read more >
Rerun automated tests manually in Test Management System
Choose automated tests and execute them manually by marking as passed or failed. You are free to write the description, attach artifacts.
Read more >
Rerun: recurring, subscription, and membership billing.
Rerun automates recurring and one-time payments for subscription and membership billing. Free 30-day trial. No credit card required.
Read more >
Defining job rerun and recovery actions
HCL Workload Automation reruns the failed job after the operator has replied to a prompt. same_workstation: If the parent job ran on a...
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