当前位置:网站首页>Use boundschecker "suggestions collection"
Use boundschecker "suggestions collection"
2022-07-23 22:59:00 【Full stack programmer webmaster】
Hello everyone , I meet you again , I'm your friend, Quan Jun .
BoundsChecker It's a Run-Time Error detection tools , It mainly locates various errors that occur during the running of the program .
BoundsChecker Errors that can be detected include :3sNews.Net——3S Community & Information platform t b U ^ N @ i7p’w M V B e 1) Pointer operation and memory 、 Resource leakage error , such as : Memory leak ; Resource leakage ; Wrong operation on pointer variables . 2) Error in memory operation , such as : Memory reading 、 Write overflow ; Use uninitialized memory . platform n.U3U B C _3S Community & Information platform !z&v k.U M [8S([ 3)API Function usage error .
Use BoundsChecker Detect the runtime errors of the program , There are two usage modes to choose from . One model is called ActiveCheck, One model is called FinalCheck. Here are the introduction . 1)ActiveCheck yes BoundsChecker Provides a convenience 、 Fast error detection mode , It can detect a limited variety of errors , Only include : Memory leak error 、 Resource leakage error 、API Function usage error . U `)R4p+~0 Want to use ActiveCheck Mode to detect the runtime error of the program , Just in VC++ Open in the integrated development environment BoundsChecker function , Then run the program from the debugging state . here ActiveCheck It will run automatically in the background , Check whether the program has errors at any time . Let's talk about the specific use steps . First , stay VC++ Open the program you want to test in the integrated development environment , At the same time, ensure that the project is in Debug Compiled .3sNews.Net——3S Community & Information platform c i3V
- Make sure VC++ In an integrated development environment [BoundsChecker/ Integrated Debugging] Menu items and [BoundsChecker/Report Errors and Events] The menu item is selected .
- Click on [ Build/Start Debug] menu , Choose “Go” A menu item . The program starts at Debug Running in state .
- According to the test cases you have made , Operate the program . m8/6V l `”`0
- When BoundsChecker When an error is detected , A window will pop up to report to you , You can deal with it at that time , You can also wait until your operation is completed , After exiting the program, analyze the listed errors . It all depends on whether you Selected [BoundsChecker/Report Errors Immediately] A menu item .
- After exiting the program ,BoundsChecker A list of error detection results will be given . This error list is similar to ActiveChecker The error list given is viewed in exactly the same way . But there will be more information reported in this list 、 More details .
good 了 ,BoundsChecker stay FinalCheck The use of mode is also introduced .ActiveChecker、FinalCheck These two models , comparison Each has its own advantages and disadvantages .ActiveChecker Easy to use , Just in Debug Just run the program directly in the state , And the program runs faster , But the types of errors detected are limited ; FinalCheck In mode , Need to use BoundsChecker Recompile connection to generate executable program , And the running speed of the program is relatively slow , But there are kinds of errors in detection class 、 More error related information is provided ActiveChecker. therefore , When to use which mode , It should depend on the specific situation at that time .
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/126241.html Link to the original text :https://javaforall.cn
边栏推荐
- The I2C interface mode offline burning operation method of h7-tool has been released (2022-07-16)
- As a developer, you have to know the three performance testing tools JMeter, API and jmh user guide
- 小说里的编程 【连载之十九】元宇宙里月亮弯弯
- Ways to improve the utilization of openeuler resources 01: Introduction
- 小说里的编程 【连载之十八】元宇宙里月亮弯弯
- 砺夏行动|源启数字化:既有模式,还是开源创新?
- Exch:pop3 and IMAP4 operation guide
- El select drop-down box multi selection remote search anti display
- 1000 okaleido tiger launched binance NFT, triggering a rush to buy
- [leetcode ladder] linked list · 206 reverse linked list
猜你喜欢

浅析基于NVR技术的视频能力与未来发展趋势

TAP 系列文章7 | 易于管理的流水线配置

疯狂的牛市,下半场何去何从?2021-04-30

STM32F4查看系统各部分频率

TAP 系列文章5 | 云原生构建服务

D1-h development board - Introduction to Nezha development

巴菲特股东大会的启示 2021-05-06
The font of Siyuan notes is thinner and lighter than that in other editors (atom, VSC, sublime)

J9 number theory: how can we overcome the fomo phenomenon in the digital industry?

Array - 59. Spiral matrix II
随机推荐
Matlab wavelet toolbox import signal error (doesn't contain one dimensional single)
Array - 11. Containers with the most water
Can Verilog of synthetizable be integrated
小说里的编程 【连载之二十】元宇宙里月亮弯弯
TAP 系列文章9 | 应用开发加速器
使用itextpdf提取PDF文件中的任意页码
Debian | Can’t locate Debian/Debhelper/Sequence/germinate. pm in @INC
Lixia action 2022 Yuanqi digital round table forum will be launched soon
What if the content of software testing is too simple?
海外资深玩家的投资建议(2) 2021-05-03
Exch:pop3 and IMAP4 operation guide
[nuxt 3] (IX) server routing
Rosbag file recorded by LIDAR point cloud data is converted into CSV file
D2admin framework is basically used
El select drop-down box multi selection remote search anti display
The Minesweeper game
Finding all paths between two points in a directed graph
STM32 MCU uses ADC function to drive finger heartbeat detection module
Rails with OSS best practices
ES6箭頭函數的使用