| View previous topic :: View next topic |
| Author |
Message |
Merlini Advanced Cheater
Reputation: 2
Joined: 12 Jun 2016 Posts: 53
|
Posted: Fri Jul 29, 2016 11:51 pm Post subject: Activate/Deactivate or Enable/Disable Breakpoints |
|
|
Hello,
I have a few breakpoints set (somewith Easy bp conditions), and I would like to disable some of them while I'm debugging. It would be very convenient to go in to the breakpoint list and click a button to toggle between enable/disable. This way I can manipulate a group of bp's easily and quickly.
As of now, to disable a breakpoint, I delete the bp's. When I want to re-enable them I have to navigate to the addresses using codelist or bookmarks and reset them individually.
When I click on the "show shadow breakpoints" options, it has a column that checks for the "active" status of a breakpoint, so it's possible the code is already there to do this.
Is there any option to toggle bp's in CE breakpoint list?
Thank you in advance.
| Description: |
|
| Filesize: |
13.59 KB |
| Viewed: |
11315 Time(s) |

|
|
|
| Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Sat Jul 30, 2016 3:51 pm Post subject: |
|
|
Change the condition so it won't hit? Just make up a condition you know will never be true
_________________
|
|
| Back to top |
|
 |
Merlini Advanced Cheater
Reputation: 2
Joined: 12 Jun 2016 Posts: 53
|
Posted: Sun Jul 31, 2016 3:19 pm Post subject: |
|
|
| STN wrote: | | Change the condition so it won't hit? Just make up a condition you know will never be true |
I think I've not been clear.
Of course, I can finagle the bp condition into doing what I want. I even have a keyboard macro script bound to my mouse button that does this automatically. But doing it this way is inconvenient, time consuming, and sometimes prone to user error.
Please have a look at the screen shot I've made with some of the common debuggers that I use - IDA, x32dbg, and ollydbg. Each of them have a list of breakpoints (just like CE) and have the capability of toggling the active state of the bp without having to remove them. Some of them even have the ability to group bp's and enable/disable them as a group. If you need to toggle bp's frequenty, you can see how this would be far preferable to removing/adding individual bp's or tinkering with bp conditions.
In any case, I think CE possibly already has this feature. There is the "Active" column as shown in my first post, and I'm either missing a keyboard shortcut to toggle the state, or perhaps CE hasn't exposed the function to the GUI.
Any help would be much appreciated. Thank you.
| Description: |
|
| Filesize: |
163.29 KB |
| Viewed: |
11226 Time(s) |

|
|
|
| Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Sun Jul 31, 2016 3:47 pm Post subject: |
|
|
Of course i understood your question. I know exactly what feature you're asking for.
CE doesn't have it so i suggested a workaround. But you have got that covered so wait for Dark byte to implement or you can download CE source and do it yourself. Shouldn't be that hard if you have some programming background.
_________________
|
|
| Back to top |
|
 |
predprey Master Cheater
Reputation: 24
Joined: 08 Oct 2015 Posts: 486
|
Posted: Sun Jul 31, 2016 4:21 pm Post subject: |
|
|
When you disable a breakpoint, CE waits a few seconds before deleting the breakpoint. That's when the active column and pending deletion column changes.
Using Lua, I reckon it's possible to add a column to the breakpoint panel showing the breakpoint condition. Then just add a popup menu to change the breakpoint condition to "false" to disable it. I'll do it when I find the time and motivation.
EDIT: Ok, I checked. It seems the condition is not exposed to lua. So the other way I can think of is the automatically continue if it is disabled.
|
|
| Back to top |
|
 |
|