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 


Debugging step through functions greyed out

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
JohnnyWaffles
How do I cheat?
Reputation: 0

Joined: 19 Jun 2020
Posts: 4

PostPosted: Tue Jul 21, 2020 9:49 am    Post subject: Debugging step through functions greyed out Reply with quote

I'm trying to use cheat engines debugger to step through some code. The code on question is a dll I'm injecting into a game. I want to confirm things.

I'm using the VEH debugger because at the same time I'm debugging with visual studio so the Windows debugger isn't available.

My question is, after setting a break point, why is the step through functions greyed out? I loaded the debugging tool bar, and even in the drop down window they aren't available. Why is this?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4695

PostPosted: Tue Jul 21, 2020 10:25 am    Post subject: Reply with quote

Did the breakpoint trigger, or did you only set it?

You really shouldn't have more than one debugger attached to a program at once.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
JohnnyWaffles
How do I cheat?
Reputation: 0

Joined: 19 Jun 2020
Posts: 4

PostPosted: Tue Jul 21, 2020 11:06 am    Post subject: Reply with quote

Code:
pDeviceContextVTable = (DWORD_PTR*)pContext;
    pDeviceContextVTable = (DWORD_PTR*)pDeviceContextVTable[0];
    ogCreateInputLayout = (fnCreateInputLayout)pDeviceContextVTable[29];


So the reason Im using a VS debugger is because I need to get the EIP from a specific function call. I'm using a vtable look up to get a DirectX function address. To do so, I put a VS breakpoint on the function call (last line in code above). When execution stops on that line, I Grab the EIP from VS, and before pushing continue in VS to resume runtime, I Go to Cheat Engine and goto the address in the EIP. I then set a CE breakpoint on that address, hit continue in VS and then step through in CE to see if it steps into the D3D function.

This is so I can confirm I'm getting the correct function. But like I said, at that point, there is no way for me to step through...not that I can see anyway.
Back to top
View user's profile Send private message
JohnnyWaffles
How do I cheat?
Reputation: 0

Joined: 19 Jun 2020
Posts: 4

PostPosted: Wed Jul 22, 2020 7:16 pm    Post subject: Reply with quote

Ok, so it was due to me not detaching the VS debugger. Once I did that cheat engines step through functions where available.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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