首页题目详情
调试工具中,'Breakpoint' 和 'Watchpoint' 有什么区别?

A.'Breakpoint' 针对代码行,'Watchpoint' 针对数据变化
B.'Breakpoint' 针对数据变化,'Watchpoint' 针对代码行
C.'Breakpoint' 只用于C语言程序,'Watchpoint' 只用于汇编语言程序
D.'Breakpoint' 和 'Watchpoint' 在调试工具中并无区别
优质解答
答案
A
解析
'Breakpoint' 用于在特定代码行暂停程序,'Watchpoint' 则用于当某个数据发生变化时暂停程序,用于调试数据相关的问题。
计算机软件基础单选题中等AI生成