Specific methods to solve F5 debugging can not enter

Specific methods to solve F5 debugging can not enter

There is not a lot of nonsense, just look at the picture above:
1. Open debug Configurations...Insert picture description here

2. Open the JRE interface. This is not the default interface. I have set it before, but it’s okay. Let’s continue.
Insert picture description here
3. Click Alternate JRE: Installed JRES in that line... I show JDK1.8 here because it has been set and has not been modified. It should be jre
Insert picture description here
4. Click on your JRE (I set it so I display JDK), and then click Remove
Insert picture description here
5. This is the interface after Remove. Next, we click the Add... button
Insert picture description here
6. Select the bottom one, then next
Insert picture description here
7. Click Directory... to find the installation directory of your JDK.
Insert picture description here
Click to select the folder:
Insert picture description here
8. Click Finish
Insert picture description here
Insert picture description here
9. Select JDK1.8, and click the Apply and Close button
Insert picture description here
10. . Click Run
Insert picture description here
Perfect and you are now done!

Take a look at the effect:
Insert picture description here

Put a breakpoint on the System.out.println(arr); line, and then press F5, you can see that you have jumped into this method.
Insert picture description here
Perfect! perfect!

Guess you like

Origin blog.csdn.net/weixin_42594143/article/details/107580762