# Natural Debugger

**URL:** <https://techcommunity.softwareag.com/t/natural-debugger/61530>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [September 29, 2006, 10:43am UTC](https://techcommunity.softwareag.com/t/natural-debugger/61530 "2006-09-29T10:43:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rich](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Rich](https://techcommunity.softwareag.com/u/Rich)\
**Post date:** [September 29, 2006, 10:43am UTC](https://techcommunity.softwareag.com/t/natural-debugger/61530/1 "2006-09-29T10:43:01Z")

</div>

Hi,

While using Natural Debugger in a main program (which has many secondary programs being called) , i would like to skip debugging  
these called secondary programs but still would like to have these executed while debugging my Main program.Please suggest how to  
do this.Thankyou.

---

<div class="post-metadata">

**Author:** ![Helmut\_Spichtinger](https://avatars.discourse-cdn.com/v4/letter/h/e0b2c6/32.png) [@Helmut\_Spichtinger](https://techcommunity.softwareag.com/u/Helmut_Spichtinger)\
**Post date:** [September 29, 2006, 1:46pm UTC](https://techcommunity.softwareag.com/t/natural-debugger/61530/2 "2006-09-29T13:46:29Z")

</div>

Either you set a breakpoint in the line after the line, from which the programming modul is invoked and execute then the command GO.  
All programming objects will be executed, and the cursor will stay on this breakpoint (assumed that there are not INPUTs in the skipped program chain). The setting and deleting of breakpoints can be done during debugging in the debugger editor.

Or you use the debugger execution control command STEP SKIPSUBLEVEL. Here’s an excerpt from the manual for the Natural debugger (Natural 4.1.4):  
STEP SKIPSUBLEVEL  
When you enter the direct command STEP SKIPSUBLEVEL (or choose PF17) upon a statement which invokes another object (for example, CALLNAT), processing is continued with the next statement line in the interrupted Natural programming object (instead of the first executed statement in the invoked object).

With the command STEP SKIPSUBLEVEL, you can specify a level number n. n is the level of the interrupted Natural object (this is the default) or a superior level. Step mode then continues with the next object at the specified level.

If this command is applied to a statement that does not invoke another object, the Natural Debugger reacts as if the command STEP had been entered.

Level information can be obtained with the command OBJCHAIN as described in the section Navigation and Information.

---

<div class="post-metadata">

**Author:** ![Rich](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Rich](https://techcommunity.softwareag.com/u/Rich)\
**Post date:** [September 29, 2006, 3:14pm UTC](https://techcommunity.softwareag.com/t/natural-debugger/61530/3 "2006-09-29T15:14:43Z")

</div>

Thankyou.It worked for me.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:40pm UTC](https://techcommunity.softwareag.com/t/natural-debugger/61530/4 "2021-04-02T14:40:52Z")

</div>


