You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With probe-rs 0.23, pressing CTRL+C while running probe-rs run leaves RTT in non-blocking mode allowing the firmware to continue running indefinitely. This is (I think) the behaviour that we want.
With the current master (rev cf6ae5e) it does not, which means that when the RTT buffer eventually fills up the running firmware hangs.
To Reproduce
Install probe-rs cli from git.
Add defmt/rtt to your crate.
Log inside of a loop with an LED blink so that progress is observable without RTT
Run with probe-rs run from git
Observe that the program never locks up.
Press CTRL+C to disconnect debugger.
Wait for firmware to lock up
Expected behavior
RTT would switch to non-blocking and firmware would never lock up
The text was updated successfully, but these errors were encountered:
With probe-rs 0.23, pressing CTRL+C while running probe-rs run leaves RTT in non-blocking mode allowing the firmware to continue running indefinitely. This is (I think) the behaviour that we want.
Well, 0.23 didn't transition to blocking mode, so sort-of-maybe-not-exacly. Not transitioning back, however, is a mistake and thanks for noticing it.
Hmm I can't find where 0.23 changes channel mode, except in the dap server. Either way, this should be fixed by #2466 if I managed to find all points where we need to restore the flag :) 🤞
Describe the bug
With probe-rs 0.23, pressing CTRL+C while running probe-rs run leaves RTT in non-blocking mode allowing the firmware to continue running indefinitely. This is (I think) the behaviour that we want.
With the current master (rev cf6ae5e) it does not, which means that when the RTT buffer eventually fills up the running firmware hangs.
To Reproduce
Install probe-rs cli from git.
Add defmt/rtt to your crate.
Log inside of a loop with an LED blink so that progress is observable without RTT
Run with probe-rs run from git
Observe that the program never locks up.
Press CTRL+C to disconnect debugger.
Wait for firmware to lock up
Expected behavior
RTT would switch to non-blocking and firmware would never lock up
The text was updated successfully, but these errors were encountered: