In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
SylixOS debugging method of static code analysis, I believe that many inexperienced people do not know what to do, so this paper summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.
1. Introduction of SylixOS debugging method
SylixOS implements a powerful debugging stub that can debug applications online on a device or simulator. RealEvo-IDE also provides supporting debugging plug-ins. At present, RealEvo-IDE not only supports automatic push debugging, but also supports the traditional debugging mode of starting gdbserver manually. In the official manual, there is no detailed description of several debugging methods that are very useful in daily development. We do the corresponding demonstration by building several new App projects, mainly including code static analysis, code coverage check, performance analysis and a demonstration of an actual case column. This paper mainly introduces code static analysis and debugging.
2. Detailed explanation of SylixOS debugging steps
Code static analysis is mainly used to check wild pointers, array out of bounds and other problems, we set up a static_check_app, used to do code static analysis demonstration, the program list is shown in listing 21.
Program listing 21 static_check_app listing
# include
Intmain (intargc, char * * argv)
{
CharcBuf [10]
Char * pTemp
Int i
For (iTuno; I
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.