-
-
Notifications
You must be signed in to change notification settings - Fork 76
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: "data breakpoints": break when the command executed matches a certain regex #107
Comments
Ok. Sounds interesting. You are up for working on it yourself? |
I made some initial research in the code. This should be doable, but no promises. |
I'd stay out of src which is mostly GNU Make and work as much as possible in libdebugger To get started I might modify |
Sorry, how would it help to create a data breakpoint? To do this, I need to:
Does this sound reasonable? |
Ok - I think I see now. So yes, I think new_job in jobs.c is where you want to change. And what you write sounds reasonable. Still though, you would do well to change job.c a little as possible. It's already complicated and ugly enough. If you can just put inside new_job a call to a new routine inside libdebugger to make the additional check and trigger when true. |
…mand executed matches a certain regex.
…mand executed matches a certain regex.
…r when a command executed matches a particular regex.
…r when a command executed matches a particular regex.
…r when a command executed matches a particular regex.
I have a huge set of makefiles.
I need to find what creates a certain directory.
I would like to set a breakpoint that triggers:
.+mkdir.+problem_directory$
is executed.The current breakpoints are useful when you know what file and line you want to stop at, but they cannot stop when a certain file is accessed.
The text was updated successfully, but these errors were encountered: