error analysis/handling/detecting/reporting/preventing/recovery/reproduce/debug

error analysis/handling/detecting/reporting/preventing/recovery/reproduce/debug

Post by Jef Mangelscho » Sun, 31 Mar 2002 08:39:53



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

...

 
 
 

1. error analysis/handling/detecting/reporting/preventing/recovery/reproduce/debug

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

...

2. HELP! Netscape doesn't recognize dialed-up connections

3. rexec command hangs on windows

4. llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll

5. Where is NetTools for Linux-1.0.9?

6. P L, PPCQAU7HGUTGG..........................VCCCCCCCCCCCCC AAAAAAAAAAAAAAAAAAAAANNNNNNNNNNNNNNNNNN777777777777777RRRRRRRRRRRRRRRRRBBBBBBBBBBBBBBBBBBBBBBB

7. VPN config

8. TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT

9. +++GET YOUR FREE PENTIUM CELERON-300+++____________________________________________________________________________________________w09 wpiypw pwioierio

10. Police Forensic & Evidence Elimination programs jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjujjjjjjjjjjjjjjjjjjjjjjjjjjjjj 643 [1/2]

11. ################################################################################################