Can I run the IDF Monitor under Eclipse?

Philbot
Posts: 10
Joined: Fri Nov 08, 2019 2:14 pm

Can I run the IDF Monitor under Eclipse?

Postby Philbot » Tue Mar 22, 2022 8:57 pm

I do all my ESP32 development using the IDF plugin for Eclipse.

Currently I have an application that has a problem that I'm trying to track down....
I display the output on the serial terminal... Shortly in, I get a WDT trip and then a BackTrace dump.
I've done all the regular "easy" debugging tricks, with no avail.
I suspect I have a memeory overwrite problem somewhere.

To egt deeper, I want to decode the addresses in the BackTrace, and I see that there is an "IDF Monitor" program that will do this for me.
But all the docs show running it from the command line, and as much as I try, I can't get the pathing to work.

https://docs.espressif.com/projects/esp ... nitor.html

Is there a way to run the idf_monitor from eclipse alongside my project dev environment. New launch command or some thing?
Or is there a manual way to get access to the program line addresses. Remember.. command lines don't work for me.

Thanks.
Phil.

Code: Select all

E (6210) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
E (6210) task_wdt:  - IDLE1 (CPU 1)
E (6210) task_wdt: Tasks currently running:
E (6210) task_wdt: CPU 0: IDLE0
E (6210) task_wdt: CPU 1: cell_post_task
E (6210) task_wdt: Print CPU 0 (current core) backtrace


Backtrace:0x400D4608:0x3FFB0760 0x4008282D:0x3FFB0780 0x4014AA57:0x3FFBC190 0x400D4906:0x3FFBC1B0 0x40088E05:0x3FFBC1D0 0x40088479:0x3FFBC1F0 

E (6210) task_wdt: Print CPU 1 backtrace


Backtrace:0x40081AAF:0x3FFB0D60 0x4008282D:0x3FFB0D80 0x40089DBC:0x3FFC4590 0x40089F04:0x3FFC45B0 0x400D6CDB:0x3FFC45D0 0x40088479:0x3FFC4850

ESP_kondalkolipaka
Posts: 188
Joined: Wed Jul 17, 2019 5:26 pm

Re: Can I run the IDF Monitor under Eclipse?

Postby ESP_kondalkolipaka » Thu Mar 24, 2022 5:39 am

Hi Phil,

ESP-IDF Serial monitor in eclipse is based on the "idf.py monitor", ideally, it should support all the features what is mentioned here https://docs.espressif.com/projects/esp ... nitor.html

if something is missing we could investigate further on this.

However, if you would like to use the idf monitor from the esp-idf terminal(within Eclipse), you should be able to do that as it comes with all predefined esp-idf environment variables. Please check this https://github.com/espressif/idf-eclips ... dfterminal

Who is online

Users browsing this forum: No registered users and 22 guests