---+ APPX Process Stack <p align="left">Running an APPX application consists of a series of processes calling each other. For example, the Main Menu might call a submenu, which might call a JOB process, which might call an INPUT, which might call a child INPUT process, etc.</p> The list of current processes that have called each other is called a "Process Stack". This is a particular 'drill down' within a Process Family, or Process Tree. If you have TRAPed into the ILF debugger, you can see the process stack by invoking Direct Menu 1 <span style="font-size: x-small;">(</span><span style="font-family: Courier New; font-size: x-small;">GO 1</span><span style="font-size: x-small;">)</span>. A typical Process Stack might look like: <pre>ECR ENTRY (HISTORY) (COMMENTS) 0000200.001.0000000 Inp Option Intercept -------------------------------------------------------------------- | Stack Trace | | | | Lvl# Ap/Ver Proc Type Process Name Invoked As | | 1 CTS 00 INPUT ECR ENTRY (HISTORY) (COMMENTS) SUBPROCESS | | 2 CTS 00 INPUT ECR ENTRY (HISTORY) SUBPROCESS | | 3 CTS 00 INPUT ECR ENTRY DETACHED | | 4 CTS 00 MENU MAIN MENU DETACHED | | 5 0LA 00 JOB SELECT DATABASE SUBPROCESS | | 6 0AD 00 INPUT APPLICATION DESIGN DETACHED | | 7 0LA 00 MENU APPX MENU DETACHED | | | | | --------------------------------------------------------------------</pre> The current process <em><span style="font-family: Arial; font-size: x-small;">(being debugged thru the ILF editor)</span></em> is at the top the stack <em><span style="font-size: x-small;">(Level #1)</span></em>. The first process in the stack is at the bottom <span style="font-size: x-small;">(</span><span style="font-family: Courier New; font-size: x-small;">APPX MENU</span><span style="font-size: x-small;">)</span>. Note that this stack also shows you the "Invocation Type", or scoping <em><span style="font-size: x-small;">(Detached/Related/Subprocess)</span></em>. See the <a target="_blank" href="/wiki/pub/Main/OnlineManuals/designer_manual_4-1.chm">APPX Designer Reference Manual</a> chapter 1-5 on Interprocess Communications for further discussion of the scoping rules around for process invocations and field types. You can only view the Process Stack when running <span style="font-family: Courier New; font-size: x-small;">4)Run Test </span>Database from with the Application Design editor, or when you have launched a Process from one of the Process editors using hidden<span style="font-family: Arial;"> </span><span style="font-family: Courier New; font-size: x-small;">Option 99</span><span style="font-family: Arial;">.</span> If you have no TRAP to get you into the ILF editor in your current process, don't despair! Press your interrupt key <span style="font-size: x-small;">(generally</span><span style="font-family: Arial; font-size: x-small;"> </span><span style="font-family: Courier New; font-size: x-small;">Control-C</span><span style="font-size: x-small;">)</span>, then <span style="font-family: Courier New; font-size: x-small;">ENTER</span>. The ILF editor will stop at the next available ILF statement. From there, you can <span style="font-family: Courier New; font-size: x-small;">GO 1</span>, to see your current Process Stack! ---++ Comments: _Read what other users have said about this page or add your own comments._ --- <br />%COMMENT%
This topic: Main
>
WebHome
>
DeveloperTips
>
APPXProcessStack
Topic revision: r1 - 2012-02-29 - ChrisBrower
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback