OS4 DepotLogo by DaveyD 
(anonymous IP: 18.204.2.231,1788) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (333)
   o Datatype (50)
   o Demo (196)
   o Development (566)
   o Document (21)
   o Driver (96)
   o Emulation (143)
   o Game (936)
   o Graphics (485)
   o Library (105)
   o Network (221)
   o Office (61)
   o Utility (868)
   o Video (65)

Total files: 4146

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  IntuitionBase


Support the site


 Readme for:  Development » Utility » crash.lha

Crash

Description: "Safely" crashes with purpose - C source included
Download: crash.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 3kb
Version: 1.2
Date: 23 Jul 2021
Author: Marko K. Seppänen
Submitter: Marko Seppänen
Homepage: http://www.m4rko.com/amiga
Category: development/utility
Replaces: development/utility/crash.lha
License: Other
Distribute: yes
Min OS Version: 4.0
FileID: 11765
 
Comments: 5
Snapshots: 0
Videos: 0
Downloads: 35  (Current version)
366  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Crash - 1.2 + source with makefile
===========

Warning: This program will crash with purpose!

A small and simple command that "safely" crashes, by writing to address 0
that is protected and guaranteed never written to.

Why would you want a program that crashes?

I for example, sometimes need a "safe" way to crash a program so I can check
where the error output is going, etc etc.

C source code included with a makefile.


Installation
------------
1. Unarchive the package.
2. Just copy the file Crash in the Crash drawer to your C:
3. Done.


Compiling the Source
--------------------
1. Open Shell.
2. Locate the drawer where you did put Crash and cd into the src/ drawer.
3. Write the folling in Shell:
     1> make


Changes
-------
Version 1.2: (2021 Jun)
  - Added a warning that is printed out.
  - Added a countdown of 3 seconds (so the user has a chance to abort).
  - Updated the Makefile.
Version 1.1: (2021 Jun)
  - Fixed the makefile to make a release including the source code.
  - Fixed the makefile to clean (delete) correctly.
Version 1.0: (2014 May)
  - Initial release.


Author
------
Marko K. Seppänen


Homepage
--------
http://m4rko.com/amiga



Copyright © 2004-2021 by Björn Hagström All Rights Reserved