Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » mingw application variables livewatch during debug on windows(mingw, livewatch)
mingw application variables livewatch during debug on windows [message #1848054] Thu, 18 November 2021 16:01 Go to next message
doc Mising name is currently offline doc Mising nameFriend
Messages: 14
Registered: August 2010
Junior Member
Hi,
I'm using cdt to develop an embedded application based on IAR. For testing purposes we are porting the application to mingw to create an emulator. Everything is working fine but I'm missing a lot a livewatch window to see variables value while the application is running without pausing it. Is it possible? I checked online but I was not able to find anything about that.
I tried last CDT 2021-09.
thanks for the support, I hope it's not a double post.
Michele
Re: mingw application variables livewatch during debug on windows [message #1848106 is a reply to message #1848054] Sat, 20 November 2021 08:37 Go to previous messageGo to next message
David VavraFriend
Messages: 1430
Registered: October 2012
Senior Member
What you seem to asking for is a live telemetry stream.

The closest thing would be a hardware watchpoint.
These are available through GDB but they are effectively breakpoints
that trigger when the value changes and are available only on some
cpus. The program stops when triggered. You set them by right clicking
on a variable in the Outline View.

CDT (through GDB) provides a dynamic printf that prints values
at a breakpoint then automatically resumes execution. I think the
program is paused while printing.

You can also cause a breakpoint to execute certain actions when encountered.
Right click on a breakpoint in the program and view the breakpoint properties
to see what's available. Documentation is sparse.




Re: mingw application variables livewatch during debug on windows [message #1848136 is a reply to message #1848106] Mon, 22 November 2021 12:59 Go to previous messageGo to next message
doc Mising name is currently offline doc Mising nameFriend
Messages: 14
Registered: August 2010
Junior Member
Thank you David for your answer. Effectively a real debugger just constantly access processor memory while it executes and sends out the requested data: compared to a printf the difference is that data is just shown and through away while in printf there is a lot of prints and the console is filled and it' not possibile to add variables while application runs.
thanks
michele
Re: mingw application variables livewatch during debug on windows [message #1848137 is a reply to message #1848136] Mon, 22 November 2021 13:10 Go to previous message
David VavraFriend
Messages: 1430
Registered: October 2012
Senior Member
Quote:
real debugger just constantly access processor memory


I'm afraid you're stuck with the fake debugger CDT uses if you want to debug with Eclipse.

Previous Topic:Updating Eclipse ... still bugged after 1X years?
Next Topic:GUI for beginners
Goto Forum:
  


Current Time: Sun Sep 25 14:43:09 GMT 2022

Powered by FUDForum. Page generated in 0.02196 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top