Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

veo31.c File Reference

Detailed Description

Enables Debugging.

JoergM area RTE | Debugging Processes
See also:
example.html ...

Definition in file veo31.c.

#include "gsp00.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>

Go to the source code of this file.


#define FILE_CONTENT_MXEO31   8192
#define MF__   MOD__"sqlDebugBreak"
#define MF__   MOD__"sqlSetDebug"
#define MF__   MOD__"eo31_GetDebugEnv"
#define MF__   MOD__"eo31CallDebugger"
#define MOD__   "veo31.c:"
#define SAPDB_Debug_Env_eo31   "SAPDB_Debug_Env"


static int eo31_GetDebugEnv (const char *Variable, char *ResultBuffer, const size_t MaxLength)
static int eo31_SetDebugProfile (const char *FileName)
externC int eo31CallDebugger ()
 This call tries to call a debugger, if a debug environment is set. Display must be set to your XDisplay identifier, i.e. p26216.0. Make sure that Display is set to the correct value... depends on the Operating System.
externC void sqlDebugBreak ()
 This function calls eo31_CallDebugger if Enabled (set by sqlSetDebug) points to an value of 1. For additional information see description of sqlSetDebug and eo31_CallDebugger.
externC void sqlSetDebug (char *FileName, tsp00_Int4 *Enabled)
 This call will overwrites the name of the special text 'SAPDB_Debug_Env' normaly exists in the Rundirectory. The parameter FileName should contain a fully qualified path plus a filename. If FileName is set to NULL only the Enabled Parameter is assigned.


static tsp00_Int4 eo31_DebugEnabledDefault = 1
static const tsp00_Int4 * eo31_IsDebugEnabled = &eo31_DebugEnabledDefault
static tsp00_Pathc eo31_SAPDB_Debug_Env = SAPDB_Debug_Env_eo31

Generated by  Doxygen 1.6.0   Back to index