V2EX  ›  英汉词典

Runtime Error

释义 Definition

运行时错误:程序在“运行过程中”发生的错误(不是在编译阶段就发现的),常会导致程序异常终止、崩溃或输出不正确。常见原因包括除以零、数组越界、空指针/空引用、内存访问非法、类型错误等。

发音 Pronunciation (IPA)

/ˈrʌnˌtaɪm ˈerər/

例句 Examples

A runtime error stopped the program before it could save the file.
运行时错误在程序保存文件之前就使它停止了。

After the update, the app sometimes throws a runtime error when it opens large images, which makes debugging difficult.
更新后,这个应用在打开大图时有时会抛出运行时错误,这让调试变得很困难。

词源 Etymology

runtime 来自 run(运行)+ time(时间),指程序“正在执行的阶段”;error 源自拉丁语 error,意为“偏离、错误”。合起来的 runtime error 指“在执行阶段出现的错误”。

相关词 Related Words

文学与作品 Literary Works

  • The C Programming Language(Kernighan & Ritchie)——讨论程序执行中的错误与未定义行为等相关概念
  • Structure and Interpretation of Computer Programs(SICP)——涉及运行时错误与异常/求值过程
  • Clean Code(Robert C. Martin)——在错误处理与鲁棒性语境中常提及运行时问题
  • The Pragmatic Programmer(Andrew Hunt, David Thomas)——在调试与防御式编程语境中讨论运行时故障与错误处理
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2318 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 13:34 · PVG 21:34 · LAX 05:34 · JFK 08:34
♥ Do have faith in what you're doing.