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

Scope debug plugin: automatic refresh of Locals tab #784

Open
perezh opened this issue Oct 19, 2018 · 4 comments
Open

Scope debug plugin: automatic refresh of Locals tab #784

perezh opened this issue Oct 19, 2018 · 4 comments

Comments

@perezh
Copy link

perezh commented Oct 19, 2018

Hi all,
I've successfully built the current master of geany and geany-plugins from source with the scope plugin. However, local variables are not updated automatically in scope. Actually, all the local variables disappear from the "Locals" tab whenever you step, step into, step out or run until cursor during the debugging process. If you right-click refresh in the tab, the local variables are correctly shown in the tab.
The test program is a simple C code which adds several numbers.

Is this a minor bug in the plugin? I currently tested on Linux Mint 18.3 Sylvia (based on Ubuntu 16-04) with a 4.10.0-38-generic 64bit kernel, and on a Ubuntu 16.04.2 LTS with a 4.4.0-75-generic 64bit kernel.

Thanks in advance!

@lpaulsen93
Copy link
Contributor

I have also noticed that before. But I guess that it's more the implemented behaviour. If it would be expected to update automatically, then there wouldn't be a "refresh" menu item.

@lpaulsen93
Copy link
Contributor

I checked the source. As expected it is the implemented behaviour and so this issue should be labeled as enhancement.

@perezh
Copy link
Author

perezh commented Oct 23, 2018

Fine, thanks for your interest!

@c5060762
Copy link

c5060762 commented May 5, 2021

But, on other hand, locals tab refreshes automatically in Geany 1.24 installed on Windows XP, I've modified debug.c file to add this functionality on geany plugins 1.37.

https://github.com/c5060762/geany_scope_debugger_debug.c/blob/main/debug.c

c5060762 added a commit to c5060762/geany_scope_debugger_debug.c that referenced this issue May 15, 2021
This is regarding geany/geany-plugins#784, which automatically refresh locals tab in the scope geany plugin.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants