Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Activate/Deactivate or Enable/Disable Breakpoints

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Merlini
Advanced Cheater
Reputation: 2

Joined: 12 Jun 2016
Posts: 53

PostPosted: Fri Jul 29, 2016 11:51 pm    Post subject: Activate/Deactivate or Enable/Disable Breakpoints Reply with quote

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.



bp.png
 Description:
 Filesize:  13.59 KB
 Viewed:  11313 Time(s)

bp.png


Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Sat Jul 30, 2016 3:51 pm    Post subject: Reply with quote

Change the condition so it won't hit? Just make up a condition you know will never be true
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Merlini
Advanced Cheater
Reputation: 2

Joined: 12 Jun 2016
Posts: 53

PostPosted: Sun Jul 31, 2016 3:19 pm    Post subject: Reply with quote

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.



breakpointlist.jpg
 Description:
 Filesize:  163.29 KB
 Viewed:  11224 Time(s)

breakpointlist.jpg


Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Sun Jul 31, 2016 3:47 pm    Post subject: Reply with quote

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.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 24

Joined: 08 Oct 2015
Posts: 486

PostPosted: Sun Jul 31, 2016 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites