debug.h File Reference


Detailed Description

debugging tools

Author:
responsible: Niels Lohmann <nlohmann@informatik.hu-berlin.de>, last changes of: $Author: znamirow $
Since:
2005/11/09
Date:
$Date: 2007/07/23 08:10:37 $
Note:
This file is part of the tool BPEL2oWFN and was created during the project "Tools4BPEL" at the Humboldt-Universität zu Berlin. See http://www.informatik.hu-berlin.de/top/tools4bpel for details.
Version:
$Revision: 1.39 $

Definition in file debug.h.

#include <string>

Include dependency graph for debug.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ENTER(prefix)
 prints the function name
#define LEAVE(prefix)
 prints the function name

Enumerations

enum  trace_level {
  TRACE_ERROR, TRACE_ALWAYS, TRACE_WARNINGS, TRACE_INFORMATION,
  TRACE_DEBUG, TRACE_VERY_DEBUG
}
 trace levels More...
enum  error_level {
  ERRORLEVEL_NOTICE, ERRORLEVEL_SYNTAX, ERRORLEVER_WARNING, ERRORLEVEL_ERROR,
  ERRORLEVEL_CRITICAL
}
 error levels More...

Functions

void trace (trace_level pTraceLevel, string message)
 traces a string to the log stream
void trace (string message)
 traces a string to the log stream
void show_process_information ()
 print information about the proces
void show_wsdl_information ()
 print information about the proces
void show_process_information_header ()
int frontend_error (const char *msg)
int frontend_owfn_error (const char *msg)
 signal a syntax error
void SAerror (unsigned int code, string information="", int lineNumber=0)
 prints static analysis error messages
void SAerror (unsigned int code, string information, string lineNumber)
 prints static analysis error messages
void genericError (unsigned int code, string information, string line, error_level level=ERRORLEVER_WARNING)
 prints a generic error message
void error ()
 calls cleanup() then exits
void cleanup ()
 closes all open files and delete all pointers

Variables

trace_level debug_level
 debug level


Generated on Thu Jan 24 04:00:44 2008 for GNU BPEL2oWFN by  doxygen 1.5.2