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.

InterruptExecution in control configure_control

See original GitHub issue

As explainded in docs InterruptExecution is the exception type to stop the experiment from any control. The above statement is correct for all the controls, except the configure_control. The only way we found is possible to stop the experiment in configure_control, is to raise BaseException.

Is there a different way to behave withconfigure_control? or this is the only control you should not stop? Yet we have crucial checks in this control, that if they are not passed we must terminate the experiment. And secrets are needed to execute those checks, but in other controls, we don’t get them. You can see this related issue #187

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

Lawouachcommented, Aug 13, 2020

InterruptExecution doesn’t stop the configure_control, but you will change it to be like the rest of the controls? right?


Lawouachcommented, Aug 13, 2020

Np. Thank you for the detailed explanation and catching that limitation.

I’ll try to implement/release that ASAP.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Pain-free Steps to Configure an Interrupt Controller
Step #1 – Configure the GPIO pin · Step #2 – Disable interrupts · Step #3 – Clear interrupt flags · Step #4...
Read more >
Interrupt Controller - an overview | ScienceDirect Topics
An interrupt controller provides a programmable governing policy that allows software to determine which peripheral or device can interrupt the processor at any ......
Read more >
Week 8: buttons and interrupts - ANU School of Computing
configure a timer interrupt to periodically “hijack” the control flow ... “interrupt” the flow of your program, execute a special interrupt ...
Read more >
Interrupt Callback Execution - MATLAB & Simulink - MathWorks
MATLAB ® lets you control whether a callback function can be interrupted while it is executing. At times you might want to permit...
Read more >
Embedded Systems - Interrupts - Tutorialspoint
Whenever an interrupt occurs, the controller completes the execution of the current instruction and starts the execution of an Interrupt Service Routine ...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found