comp.lang.ada
 help / color / mirror / Atom feed
From: jef.mangelschots@iname.com (Jef Mangelschots)
Subject: error analysis/handling/detecting/reporting/preventing/recovery/reproduce/debug
Date: Fri, 29 Mar 2002 23:39:51 GMT
Date: 2002-03-29T23:39:51+00:00	[thread overview]
Message-ID: <3ca4f927.113268406@news.genuity.net> (raw)


I would like to start a discussion thread on the topic of error
handling:

Suppose you have just developed the first draft of your SW which only
handles nominal cases.
Suppose you are about to make the application more robust by going
over your code again and
modify it in order to:
	- analyse
	- detect
	- handle
	- report
	- prevent
	- recover 
	- reproduce
	- debug
errors/anomalies/faults which can be caused by:
	- system failure
	- bad user input
	- programming failures
	- bad design
	- unexpected input data
	- ...


I'm interested in learning about your
tips/tricks/code-samples/strategies/methodologies/views/guidelines/tools/dos/donts
/pitfalls/minefields/techniques/books/papers/... that can help
software engineers in building more robust SW.
These can cover the fases: debug-mode, code-instrumentation,
applications in use by users
for whatever type of application: GUI, commandline,
multi/single-threaded, OO, servers, device drivers, communication, ...

a litle breakdown to get the discussion started:
------------------------------------------------
analysis:    methods to find anomalies by analysing your code,
error-propagation, ...
detection:   choosing function return-values, pre-/post-validation,
..
handling:    error-codes vs exceptions, handling exceptions at low or
high level, just reporting or fixing the problem, maintaing code
integrity
reporting:   messages on screen, in logfiles, sending eventmessages,
..
preventing:  is it possible to prevent errors and if so, how ... 
recovering:  are there any techniques for recovering from errors,...
reproducing: techniques in reproducing reported anomalies for
debug-purposes,...
debugging:   techniques that can help in debugging,...

some topics:
------------
what can go wrong with casting
memory-leaks
bounds
mathematical overflow/underflow
rounding errors
stack problems

Regards
Jef...



             reply	other threads:[~2002-03-29 23:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-29 23:39 Jef Mangelschots [this message]
2002-03-30  1:08 ` error analysis/handling/detecting/reporting/preventing/recovery/reproduce/debug Chad R. Meiners
2002-03-30 14:37 ` Marc A. Criley
2002-04-01 17:53   ` Jef Mangelschots
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox