Posted: Mon Nov 19, 2007 12:18 pm Post subject: DebugRegister
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 _________________
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
Posted: Mon Nov 19, 2007 12:24 pm Post subject:
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
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 _________________
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