Skip to content
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

Regarding how to implement the functionality of a Live watch and the implementation of Varables #928

Open
laomaolaile opened this issue Nov 1, 2024 · 1 comment
Labels

Comments

@laomaolaile
Copy link

I need a Live watch feature in my project to view the changes in global and local variables of C++programs during runtime, and whether there are any good plugins or tools available for use in Eclipse projects.

My original plan was to reuse some of the features in Varables, but I found that I didn't quite understand the implementation process of Varables and didn't know if there were APIs left in Varables that would allow me to easily access information such as variables, variable types, and variable addresses.

Looking forward to your reply. Thank you very much

@jonahgraham
Copy link
Member

I know some extenders of CDT do something like this - not sure what mechanisms are used. Generally gdb has to be running in a non-stop mode for this to be possible, and the gdb server needs to be able to query memory values even when (all) threads are running.

As for understanding Variables view in CDT the first things is to understand the asynchronous natures of the debug infrastructure - you can start with the DSF tutorial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants