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 


DebugRegister

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Mon Nov 19, 2007 12:18 pm    Post subject: DebugRegister Reply with quote

Well i have a fast question
why are we only able to use 4 debuggers?
i mean if i open 2 engine i can use 8 Oo and my comp dosent crash

DarkByte.....

is it just becuse ur lazzy and dont want to add more?
or dosent the debuggers after 4 take any effect?
or cant you just use more then 4 in 1 program

_________________
dont complain about my english...
1*1 = 2?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Nov 19, 2007 12:24 pm    Post subject: Reply with quote

that is because a thread can only have 4 debug registers.
Debug registers are like normal registers, they just control when a breakpoint triggers
You have DR0, DR1, DR2, DR3, DR6 and DR7 (DR4 and DR5 do not exist, or in some situations just link to DR6 and DR7)

DR0 to DR3 define at which address a breakpoint can occur
DR6 determines what the last breakpoint was that was executed
DR7 determines which debug registers are activated and how. (execute, access or write)

CE blocks you from using more than 4 because there just aren't more than 4 to use. If you start a second CE it will just mess up the previous state of the debugregisters because it doesn't know they where already being used by the other ce. So the debug registers you've set with the first ce will be lost

_________________
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
Dami
Master Cheater
Reputation: 0

Joined: 23 Oct 2006
Posts: 336

PostPosted: Mon Nov 19, 2007 12:36 pm    Post subject: Reply with quote

with that answer, we all can finally stfu Razz
Back to top
View user's profile Send private message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Mon Nov 19, 2007 2:07 pm    Post subject: Reply with quote

Dark Byte wrote:
that is because a thread can only have 4 debug registers.
Debug registers are like normal registers, they just control when a breakpoint triggers
You have DR0, DR1, DR2, DR3, DR6 and DR7 (DR4 and DR5 do not exist, or in some situations just link to DR6 and DR7)

DR0 to DR3 define at which address a breakpoint can occur
DR6 determines what the last breakpoint was that was executed
DR7 determines which debug registers are activated and how. (execute, access or write)

CE blocks you from using more than 4 because there just aren't more than 4 to use. If you start a second CE it will just mess up the previous state of the debugregisters because it doesn't know they where already being used by the other ce. So the debug registers you've set with the first ce will be lost


Thanks now i understand why ... i have thinked about this for a while

_________________
dont complain about my english...
1*1 = 2?
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 Source 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