当前位置:网站首页>软考 系统架构设计师 简明教程 | 软件调试
软考 系统架构设计师 简明教程 | 软件调试
2022-07-28 15:08:00 【万猫学社】
在软件测试的过程中,就会发现软件中的一些错误,但是,这种错误的发生只是一种表象,错误究竟是由什么原因引起的,是由哪段代码引起的,这些问题就需要进行调试才能确定。
软件调试方法
软件调试一般包括以下几种方法:
- 蛮力法:根据“让计算机自己来寻找错误”的思想,进行内存映象,激活运行时的跟踪。该方法低效,耗时。
- 回溯法:从出错处人工沿控制流程往回追踪,直至发现出错的根源。复杂程序由于回溯路径多,难以实施。
- 原因排除法:通过演绎和归纳,以及二分法实现。
软件测试与软件调试
软件测试和软件调试的对比如下表:
| 软件测试 | 软件调试 | |
|---|---|---|
| 目的 |
边栏推荐
- NTC,PT100热电阻转4-20mA温度信号转换器
- 5路DI/DO继电器输出远程IO采集模块Modbus TCP/IBF95
- Redis series 4: sentinel (sentinel mode) with high availability
- VM501开发套件开发版单振弦式传感器采集模块岩土工程监测
- 多用型混合信号8AI/4DI/DO转串口RS485/232MODBUS采集模块IBF30
- 阿里云的rds mysql 只读实例在哪里创建
- A tour of gRPC:05 - gRPC server straming 服务端流
- Connection and application of portable borehole inclinometer data acquisition instrument and inclinometer probe
- Where is the RDS MySQL read-only instance of Alibaba cloud created
- 【直播预约】数据架构演进下的新挑战——上海站
猜你喜欢
随机推荐
带你来浅聊一下!单商户功能模块汇总
Writing of factorial
What is the concept of game testing? What are the test methods and processes?
仅需三步 轻松实现远程办公
Set static IP in NAT mode of virtual machine
光学雨量计对比翻斗式雨量计的优势
Note: the value is rounded up to ten, hundred, thousand, ten thousand
JS array (summary)
2021-10-21 notes
Software architecture and design (II) -- Architecture Model
Summary of for loop in JS
2021 亚鸿笔试题2
How to quickly access the unified authentication system
电压转电流/电流转电压模块
知识点qwer
0-75mV/0-100mV转RS485/232通讯接口MODBUS RTU采集模块IBF8
12V脉冲转速测量转24V电平信号转换变送器
Redis系列4:高可用之Sentinel(哨兵模式)
High precision absolute angle sensor application high speed angle monitoring
Pytorch - optimize model parameters
![[channel attention mechanism] senet](/img/e6/261ca0ae5a38c26e74de27d90993f7.jpg)








