top of page


Public·8 members
Ilya Belyaev
Ilya Belyaev

How to Use madExcept v5.0.0 Full Source to Debug Your Delphi Applications

How to Use madExcept v5.0.0 Full Source to Debug Your Delphi Applications

madExcept is a powerful tool that helps you find and fix bugs in your Delphi applications. It provides detailed exception reports, stack traces, memory dumps, and more. With madExcept v5.0.0 Full Source, you can customize and extend the functionality of madExcept to suit your needs.

In this article, we will show you how to use madExcept v5.0.0 Full Source to debug your Delphi applications. We will cover the following topics:

madExcept v5.0.0 Full Source

  • How to install and configure madExcept v5.0.0 Full Source

  • How to use madExcept to catch and handle exceptions

  • How to use madExcept to generate and analyze bug reports

  • How to use madExcept to improve your code quality and performance

By the end of this article, you will have a better understanding of how madExcept v5.0.0 Full Source can help you create more reliable and robust Delphi applications.

How to Install and Configure madExcept v5.0.0 Full Source

To use madExcept v5.0.0 Full Source, you need to have Delphi 10.4 Sydney or later installed on your computer. You also need to download the latest version of madExcept from here. The download file is a self-extracting executable that contains the full source code of madExcept and other components of the madCollection library.

After downloading the file, run it and follow the instructions to install madExcept on your computer. You will be asked to choose which components of the madCollection library you want to install. Make sure you select madExcept and any other components you need.

Once the installation is complete, you will see a new menu item called "madExcept" in your Delphi IDE. Click on it and select "Settings" to open the madExcept Settings dialog. Here you can configure various options for using madExcept in your projects.

Some of the most important options are:

  • The "Project" tab allows you to enable or disable madExcept for each project in your solution.

  • The "Options" tab allows you to customize the behavior and appearance of madExcept, such as how it handles exceptions, how it displays dialogs, how it logs information, etc.

  • The "Send" tab allows you to specify how and where to send bug reports generated by madExcept, such as via email, FTP, HTTP, etc.

  • The "Tools" tab allows you to access various utilities that come with madExcept, such as the bug report viewer, the stack trace decoder, the memory leak detector, etc.

You can also access these options by right-clicking on any project in your solution and selecting "madExcept Settings".

How to Use madExcept to Catch and Handle Exceptions

One of the main features of madExcept is that it automatically catches any unhandled exceptions that occur in your application and shows a detailed exception dialog with useful information about the error.

To enable this feature, you just need to add the unit "madExcept" to the uses clause of your main form or project file. For example:


Windows, Messages, SysUtils, Variants, Classes,

Graphics, Controls, Forms,




TForm1 = class(TForm)




Form1: TForm1;


$R *.dfm


This will automatically hook into the exception handling mechanism of Delphi and redirect any unhandled exceptions to madExcept.

When an exception occurs in your application, you will see a dialog like this:

This dialog shows you:

  • The type and message of the exception

  • The call stack of where the exception occurred

  • The values of local variables and parameters at each stack frame

The values of global variables and fields at 0efd9a6b88


Welcome to the group! You can connect with other members, ge...


bottom of page