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 


Debug option to step back?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Mar 02, 2013 6:47 pm    Post subject: Debug option to step back? Reply with quote

Is there an option to step back from where a breakpoint is set, similar to ollydbg? For example, if I dissect code at the entry point of where my health changes, I can set a breakpoint on the call that accesses this area of code. However, instead of working forward, stepping through the entire call, I'd like to be able to just set a breakpoint on the entry point and step backwards to see where the jump is made to this entry point.

Can this be done with CE?

Thanks.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25793
Location: The netherlands

PostPosted: Sat Mar 02, 2013 7:05 pm    Post subject: Reply with quote

Once the breakpoint has triggered check the stacktrace view in the bottom-right
Depending on the view the first result is what called the function you are currently in, or [esp] will point to that instead (If you're actually at the entrypoint)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sat Mar 02, 2013 7:43 pm    Post subject: Reply with quote

I can't seem to make sense of it. I'll keep trying.

Thanks.
Back to top
View user's profile Send private message
Chris12
Expert Cheater
Reputation: 1

Joined: 27 Apr 2012
Posts: 103

PostPosted: Sun Mar 03, 2013 4:17 am    Post subject: Reply with quote

It's easy.
Place a breakpoint at the start of the function.
When it is hit, look at the bottom right of the window.
There you see the stack.
The first address will be the point after the call.
So just go there and scroll up.

Maybe you have to change the stack view (right click an select ESP+ or EBP+)
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