Re: [Lldb-commits] New feature suggestion: Tacking variable update

2021-09-05 Thread Jyothi Krishna V S via lldb-commits
Thanks a lot Jim. Our motivation was from the idea that the user might not be knowing which variable might be causing the issue and might need multiple runs to finally zero upon the problem. Another one is if the variable in question is updated inside a loop. here we need not track all updates, ju

Re: [Lldb-commits] New feature suggestion: Tacking variable update

2021-08-31 Thread Jim Ingham via lldb-commits
BTW, if you do want to follow this approach, then you should look at the "thread plan tracer" bits built into lldb, if you haven't already seen them. The idea is that you can inject an automatic tracer into the machinery that governs how the program is executed. The tracer can either follow th

Re: [Lldb-commits] New feature suggestion: Tacking variable update

2021-08-31 Thread Jim Ingham via lldb-commits
From what I can tell, you are suggesting using instruction single stepping and printing out the variable value if it has changed. Is that right? That seems much more expensive than watchpoints, and it isn't clear to me what the benefits would be. I would be interested to hear more about the