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

Debugger: Dynamic trace/breakpoints #444

Open
mikaelpatel opened this issue Oct 30, 2015 · 1 comment
Open

Debugger: Dynamic trace/breakpoints #444

mikaelpatel opened this issue Oct 30, 2015 · 1 comment

Comments

@mikaelpatel
Copy link
Owner

Allow trace/breakpoints that can be turned on/off. This can be done with conditional trace/breakpoints but there is no easy why to control a condition.

Dynamic trace/breakpoints will require two new commands; 1) list available trace/breakpoints, 2) turn trace/breakpoint on/off.

@mikaelpatel
Copy link
Owner Author

This can be done with the OBSERVE_IF() and BREAK_IF() and a bool variable. What is missing in the debugger is a command to write to memory (e.g. set/clear bool variable).

DEBUG_COND(var) to declare the bool variable and commands to enable/disable. These could be Debug::Variable in the global scope (no function name reference).

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

1 participant