In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "what are the debugging skills of Intellij IDEA Debug?". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
F9: recovery program
Alt+F10: show execution breakpoints
F8: skip to the next step
F7: enter the code
Alt+shift+F7: force entry code
Shift+F8: skip to the next breakpoint
Atl+F9: run to the cursor
Ctrl+shift+F9:debug runs the java class
Ctrl+shift+F10: running the java class normally
Check the view value when Alt+F8:debug
1. Take a web project as an example. Click the button in the figure to start running the web project.
2. Set breakpoints
3. Use postman to send http request
4. After the request is sent, it will automatically jump to the breakpoint, and the data result will be displayed before the breakpoint.
5, press F8 in Debug mode, go to the next step, if the current line breakpoint is a method, then do not enter the current method body, jump to the next execution statement.
6. Press F7 in Debug mode to proceed to the next step. If the current line breakpoint is a method, enter the current method body. If the method body still has a method, it will enter the embedded method.
7. Continue pressing F7 and skip to the StopWatch () constructor.
8. To jump out of this method, you can press Shift+F8 and jump back to the original place in Debug mode.
At this point, we press F8 and we will proceed to the next statement.
When we execute to the second breakpoint, if we want to execute directly to the third breakpoint, we can press F9.
Add: Alt+F8 can view the debugging results of the input content by selecting the object in the state of Debug and popping up the debug box of the input expression.
The first red box is the parameter I entered, and the second is the result displayed after I execute it.
This is the end of the content of "what are the Intellij IDEA Debug debugging skills"? thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.