Hello and welcome back.
Some of you may experience a problem when you open REM course with Xdebug.
It quits, it terminates.
So my settings are as follows.
Options.
Preferences I only allow entry breakpoints here and user data entry.
Then I click save.
So now I'll open REM course.
Here.
And you see first chance exception.
See that.
So some of you may find that the xdebug will quit immediately after this exception.
So if you if you find that this thing quits keeps terminating all the time, then what you need to do
is go to options.
Preferences.
You go to your exceptions here.
And then you click ignore range.
You gain eight zeros.
Just press zero and hold and it will fill up eight zeros.
Do the same thing for F's.
Press F and hold gain all F's.
After you have done that, select the range here.
Make sure you break on first chance and then exception handled by debugger.
This one no need.
So this is the setting break on first chance.
Debugger.
Click save.
Right now you can restart and run your program.
And it should be okay.
And you see it doesn't quit.
It is fine.
It works fine.
So now you can go ahead and add your your breakpoints that the cost mentions for example is debugger
Present.
Breakpoint.
Virtualalloc.
Breakpoint.
Virtualprotect.
Breakpoint.
Createprocess internal w.
Then restart.
Let me show you option preferences is like this.
Only these two.
No need for these callbacks.
Then you run.
It hit switch to protect.
You see that?
So it works.
So this is how you solve the problem about your.
Your debugger terminating.
Just remember to add these exceptions.
Break on first chance and then handle by debugger.
The rest of it you can follow along with the original video.
Thank you for watching.