# Debugger On NATURAL prograaming

**URL:** <https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes, Natural-on-Windows-Unix\
**Created:** [August 10, 2018, 6:47am UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426 "2018-08-10T06:47:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Unnikrishnan\_S](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@Unnikrishnan\_S](https://techcommunity.softwareag.com/u/Unnikrishnan_S)\
**Post date:** [August 10, 2018, 6:47am UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426/1 "2018-08-10T06:47:03Z")

</div>

Hi All,

Is there any tool available to Debug natural code , like, inter test or expediter for COBOL.

Thanks

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 10, 2018, 4:05pm UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426/2 "2018-08-10T16:05:33Z")

</div>

Invoke the Debugger with the command TEST DEBUG.

A graphical version is available in Natural for Windows (Debug toolbar) and NaturalONE (toolbar or Run menu).

---

<div class="post-metadata">

**Author:** ![Unnikrishnan\_S](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@Unnikrishnan\_S](https://techcommunity.softwareag.com/u/Unnikrishnan_S)\
**Post date:** [August 13, 2018, 7:44am UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426/3 "2018-08-13T07:44:05Z")

</div>

Hi ,  
Thanks for the response.  
will there be any manual available which will walk through each commands or screen, how we can do line by line execution,by watching the variables.  
Thanks

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 13, 2018, 9:06am UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426/4 "2018-08-13T09:06:55Z")

</div>

The Debugger has its own section in the manuals:

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat827mf/debug\_mf/debug\_mf-over.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat827mf/debug_mf/debug_mf-over.htm)

---

<div class="post-metadata">

**Author:** ![Unnikrishnan\_S](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@Unnikrishnan\_S](https://techcommunity.softwareag.com/u/Unnikrishnan_S)\
**Post date:** [August 13, 2018, 2:53pm UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426/5 "2018-08-13T14:53:54Z")

</div>

Hi ,

I am getting the below error in a sub-program,while setting a break poit on a particular line number, can somebody help me out on this./

Line 0170 in object DEBUG1N compiled with NOC option NODBG=ON.  
Thanks,

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [August 13, 2018, 6:45pm UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426/6 "2018-08-13T18:45:59Z")

</div>

The Debugger requires certain information to be generated by the compiler. The error message is telling you that the subprogram doesn’t contain that information, so the module can’t be debugged. The Natural Optimizer Compiler (NOC) NODBG parameter was set ON during compilation.

To see the NOC settings in your Natural session, enter the command NOCOPT. For an explanation of the parameters, see [http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat827mf/noc\_mf/noc\_mf\_options.htm#noc\_mf\_options](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat827mf/noc_mf/noc_mf_options.htm#noc_mf_options).

You need to CATalog the subprogram with NODBG=OFF.

---

<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, 3:41pm UTC](https://techcommunity.softwareag.com/t/debugger-on-natural-prograaming/200426/7 "2021-04-02T15:41:11Z")

</div>


