-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Pause monitor output (VSC-1294) #1134
Comments
Open up menuconfig and look for "Panic handler behaviour". You may change that behavior by adding delay time before the reboot, or stop the reboot after a panic altogether. I think that will do what you want. |
Nice, I like this as a work around/solution to my problem. I still think there is value in being able to pause the monitor log but will use this as my solution for now. Playing with it I find it strange that the log just stops for the "Panic reboot delay" before outputting the panic information. It would be preferable to output this immediately then delay before restarting. Also if I use the option "Print registers and halt" then the code stops but nothing is displayed regarding the panic state. Such as the call stack. Thanks! |
You're welcome. |
This issue has been marked as |
I'm wondering, do we need a button ? Here are some keyboard shortcuts for IDF Monitor which allow you to pause for example, (basically stop printing output to terminal): https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/tools/idf-monitor.html#keyboard-shortcuts We could add a button in the Espressif Tab, or a command that would send a signal to the IDF Monitor if running, if that helps. |
Hi Brian,
I don't think most VSCode users know you can control the monitor output
using keystrokes as this is typically only done if you launch it from the
command line.
Even though I knew this, I didn't realise you could pause it. So, yes I
think buttons would be useful if this is feasible.
Kind Regards,
Robin Alden
…On Tue, 12 Mar 2024 at 17:35, Brian A. Ignacio ***@***.***> wrote:
I'm wondering, do we need a button ?
Here are some keyboard shortcuts for IDF Monitor which allow you to pause
for example, (basically stop printing output to terminal):
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/tools/idf-monitor.html#keyboard-shortcuts
We could add a button in the Espressif Tab, or a command that would send a
signal to the IDF Monitor if running, if that helps.
—
Reply to this email directly, view it on GitHub
<#1134 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJWLTNULWNWME7HOTJFNUETYX2A2LAVCNFSM6AAAAABDFTZYNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOJQGMZDEOBSHA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I think it would be good to open the monitor in a separate tab with a short toolbar (clear, copy, pause/resume) |
When I write code that causes the ESP32 to crash due to a panic or similar the monitor output contains a crash dump which I like to read. However typically the code then runs again, crashes and continues to do this in a never ending loop. It very quickly overcomes the buffer for the monitor and then it just scrolls quickly making it difficult to tell what happened. My device has an on/off switch so I just turn it off and then I can read what happened. Not ideal, especially when not all devices have such a switch.
I'd like to be able to pause or stop the monitor using a button on the side of the monitor window. When paused no new data would show until I click the button again to resume monitoring.
As an additional feature it would be cool to also have an auto-pause feature that pauses the log after the crash dump when-ever the device restarts.
Cheers
The text was updated successfully, but these errors were encountered: