first-chance exception

noun

first-chance exception

noun
1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences An exception (error condition) when handled by a debugger, such that the programmer has the first chance to study it; such an exception would otherwise proceed to a handler or (in its absence) crash the program.

  • At this stage, the exception is considered a first-chance exception. Checking the checkbox in the Thrown column forces the debugger to intervene...2006, Jay Hilyard, Stephen Teilhet, C# Cookbook:
  • Here getting Early Crash Dump when a first-chance exception happens can help in component identification before corruption starts spreading across data.2008, Dmitry Vostokov, Memory Dump Analysis Anthology, Volume 1:

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.