Home > Programming > Delphi Tutorial



Debugging techniques in Delphi

Sort Desciption:

Debugging techniques in Delphi 1 Programming with Delphi Debugging Debugging techniques in Delphi ... save a lot of time finding the exact reason of the problem. In this small tutorial ...



Content Inside:

Debugging techniques in Delphi 1 Programming with Delphi Debugging Debugging techniques in Delphi & bug prevention Stefan Cruysberghs www.scip.be June 2003 Debugging techniques in Delphi 2 Contents Contents. 2 Debugging. 3 Try it with an example. 3 Options. 5 Project options. 5 Debugger options. 7 Breakpoints. 7 Call stack. 8 Local variables. 9 Watches. 10 Options. 10 Breakpoints. 11 Source breakpoints. 11 Conditions, Pass count, Log message. 11 Data breakpoints. 12 Debug inspector. 12 Event log (OutputDebugString) . 13 Ideas for creating your own debug features. 14 Bug prevention. 15 Solve warnings and hints. 15 Items of lists. 15 Pointers to objects. 15 Try-Finally. 16 Try-Except. 17 Debugging techniques in Delphi 3 Debugging Even if you did write a program in disciplined, well-structured, careful manner, you probably still need to debug it to find some bugs. Delphi offers great debugging tools and when you know how to use them, you will surely save a lot of time finding the exact reason of the problem. In this small tutorial I will explain some nice features in Delphi which will help you to debug your programs. Because it is better to avoid bugs, I will also give some tips for making better programs. Try it with an example unit DebugTechn ; interface uses  Windows , Messages , SysUtils , Classes , Graphics , Controls , Forms , Dialogs ,  Menus , StdCtrls ; type  TForm1 = class ( TForm )    Button1 : TButton ;    Edit1 : TEdit ;    MainMenu1 : TMainMenu ;    Edit2 : TMenuItem ;    MenuCalculate1 : TMenuItem ;    Button2 : TButton ; Button ; Button3 : T    procedure Button1Click ( Sender : TObject );    procedure MenuCalculate1Cl ick ( Sender : TObject );    procedure Button2Click ( Sender : TObject ) ...

Source: www.scip.be


add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us
Search Terms:

 

Related Files

Tutorial - How to use CHM Help in Delphi applications: a primer

Filed under: Programming and Delphi Tutorial
Tutorial: How to use CHM Help in Delphi applications: a primer - www.allthingsdelphi.com

Marco Cant 's Delphi Power Book: Debugging Delphi Programs

Filed under: Programming and Delphi Tutorial
Once you compile a program in Delphi and run it, you may think you're finished, ... represents a useful approach to solving a specific programming problem. ...

How to create PDF file with Delphi

Filed under: Programming and Delphi Tutorial
Hello, PDF!

Delphi 7 COM Programming

Filed under: Programming and Delphi Tutorial
COM programming in Delphi. . 7. It is. an invaluable resource for developers to. gain skills in writing COM applications. automation servers and clients ...

How to install and use components in Turbo Delphi (Win32)

Filed under: Programming and Delphi Tutorial
The author does not do this but install the compoenents into an existing package. Tutorial: How to install and use components in Turbo Delphi (Win32) Author: