10.07.2015 Views

Programming Guide - Actian

Programming Guide - Actian

Programming Guide - Actian

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 17: Preprocessing Your 4GL Code 433Preprocessor..................................................................................................................... 433Include Scripts ............................................................................................................ 434User-defined Macro Variables......................................................................................... 435Built-in Macro Variables ................................................................................................ 436The #define Statement................................................................................................. 437The #undef Statement ................................................................................................. 438The #if - #endif Statement ........................................................................................... 438The #ifdef – #endif Statement....................................................................................... 439The #ifndef - #endif Statement ..................................................................................... 439Error Processing................................................................................................................ 439Example—Error Processing ............................................................................................ 440Chapter 18: Debugging Your Application 441How You Can Use the Debugger .......................................................................................... 441Start and Stop the Debugger .............................................................................................. 442How You Can Test an Application ......................................................................................... 443Debug a Single Application ............................................................................................ 443Debug Multiple Applications........................................................................................... 443How Running in the Debugger Environment Works ................................................................. 444Frame States .............................................................................................................. 444Transactions ............................................................................................................... 444Errors ........................................................................................................................ 444Application Threads and Thread Identifiers ...................................................................... 444Synchronization of Concurrent Threads ........................................................................... 445How You Can Use Break Conditions...................................................................................... 445Debug Tab .................................................................................................................. 446Break Conditions.......................................................................................................... 446Source Breakpoints ...................................................................................................... 448Event Break Conditions................................................................................................. 450Error Break Conditions.................................................................................................. 452Call Break Conditions.................................................................................................... 454Method Invocation Break Conditions ............................................................................... 455Thread Start Breakpoints .............................................................................................. 455How You Can Log Trace Information..................................................................................... 456Trace Log Porlet .......................................................................................................... 458How You Can Monitor a Running Application .......................................................................... 459Current Thread Display ................................................................................................. 459Thread Map................................................................................................................. 459Call Stack Window ....................................................................................................... 460Event Queue Window ................................................................................................... 462Contents xi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!