DDS Developers Documentation → Fortran API → check


Index
fdds_addaxis
fdds_align
fdds_axis_prod
fdds_binfd
fdds_calloc
fdds_calloc8
fdds_check
fdds_close
fdds_closepr
fdds_closepr2
fdds_copy
fdds_count
fdds_datadefn
fdds_dict
fdds_errors
fdds_fflush
fdds_free
fdds_genus
fdds_get
fdds_history
fdds_in
fdds_index
fdds_info
fdds_initmpi
fdds_initmpix
fdds_initopenmp
fdds_isreg
fdds_key
fdds_lseek
fdds_lseek8
fdds_malloc
fdds_malloc8
fdds_map
fdds_member
fdds_memuse
fdds_mod
fdds_name
fdds_newer
fdds_next
fdds_object
fdds_offset
fdds_open
fdds_openm
fdds_openpr
fdds_out
fdds_parent
fdds_prec
fdds_prev
fdds_prime
fdds_printf
fdds_printt
fdds_printv
fdds_prtcon
fdds_prterr
fdds_prthdr
fdds_prtmsg
fdds_ptr
fdds_put
fdds_read
fdds_readm
fdds_realloc
fdds_realloc8
fdds_rmaxis
fdds_savepr
fdds_scale
fdds_scanf
fdds_scank
fdds_scant
fdds_scantn
fdds_scanv
fdds_sprintf
fdds_sscanf
fdds_switch
fdds_write
fdds_writem

fdds_check - DDS, check memory heap

SYNOPSIS

#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)

integer fdds_check(flags)

integer flags

DESCRIPTION

This function allows the application to control debug checking. The "flags" field is an integer and can be any of the DDS_DEBUG flags listed below. Successive invokation of fdds_check causes multiple debug flags to be OR'd together. The return value is the debug flag combination before fdds_check is invoked so that it can be used to restore the original state when needed. Similar functionality, though with less control, is available by using run-time parameter dds_debug= debug flags.

Flags

    DDS_DBG_HEAP      (check heap once, right now)
    DDS_DBG_ALLOC     (check heap on each allocation)
    DDS_DBG_FREE      (check heap on each free)
    DDS_DBG_CALL      (check heap on each DDS API call)
    DDS_DBG_TRACE     (trace all API calls)
    DDS_DBG_SCANNER   (trace compiler scanner)
    DDS_DBG_SYMBOL    (dump binary symbol tables)
    DDS_DBG_UNCOMPILE (dump ddsUncompileFmt stacks)
    DDS_DBG_BINARY    (dump binary ? tables)
    DDS_DBG_PANIC     (dump binary tables on panic)
    

AUTHOR

R. L. Selzler, EPTG (May 1996)
For additional help, open an issue here