File: debug.adb

package info (click to toggle)
gnade 1.6.2-8
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 8,220 kB
  • ctags: 847
  • sloc: ada: 40,154; sh: 4,124; sql: 3,590; makefile: 1,372; xml: 120; awk: 29
file content (22 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
------------------------------------------------------------------------------
--  Thin Ada95 binding to OCI (Oracle Call Interface)                    --
--  Copyright (C) 2000-2007 Dmitriy Anisimkov.                              --
--  License agreement and authors contact information are in file oci.ads   --
------------------------------------------------------------------------------

--  $Id: debug.adb,v 1.6 2007/10/22 14:02:27 vagul Exp $

--  Example of using of handle/decriptor allocation debugger.

with OCI.Thick.Debug_Allocation;
with Ada.Text_IO;

procedure Debug is
   use OCI.Thick.Debug_Allocation;
   use Ada.Text_IO;
begin
   Put_Line ("Start.");
   Start;
   Put_Line ("Print info.");
   Print_Info;
end Debug;