OS4 DepotLogo by Nickman 
(anonymous IP: 18.224.67.149,2192) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (595)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4364

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: 60  (Current version)
391  (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-2024 by Björn Hagström All Rights Reserved