In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you how to use Eclipse to build a raspberry pie remote debugging environment, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!
Build remote debugging configuration information
Select [Run]-[Debug Configurations...] from the menu After launching the debug configuration information setting screen, select the [New Configguration] function with the right mouse button after selecting the [New Configguration + New Configguration] project. Refer to the following figure for details:
First, select Projectde and Application in the [Main] settings page, and the results are as follows:
Next, go to the [Debugger] property page and select [Main] to set the project. Select [Gdb debugger] as gdb-multiarch.
Select [Connection] to set the project in the [Debugger] property page. First make sure that the real content in the red box at the bottom of the screen is [Using GDB (DSF) Manual Remote Debugging Launcher], and then set the GdbServer related information for the raspberry pie. The details are as follows:
Press [Apply] to save the settings.
Start remote debugging
Enter the arm_cpp/Debug directory through the raspberry pie terminal and enter the following command:
Gdbserver: 10000 arm_cpp
The raspberry pie terminal is as follows:
Press the [Debug] button in the lower right corner of Eclipse's [Debug Configrations] screen to start debugging. If you see the following screen, it means that remote debugging has begun.
When you press F8 directly to continue execution, the raspberry pie says as follows:
At this point, the installation of the raspberry pie remote debugging environment using Eclipse is complete!
Error message
The following error occurs when the startup parameters of GdbServer, the Ip address of raspberry pie, the connection parameters of Eclipse do not match, or the GdbServer does not start.
These are all the contents of the article "how to use Eclipse to build a remote debugging environment for raspberry pie". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.