Skip to Main Content
Status Not in Plan
Categories Natural (NAT)
Created by Hezi Shirazi
Created on Nov 7, 2022

Dynamic Code Covearge Control even after a natural process is running like Profiler

No description provided
  • Admin
    Eli Cohen
    Reply
    |
    Jan 31, 2023

    You can use the same functions to pause and restart code coverage as you can use for the Profiler as described in https://documentation.softwareag.com/natural/nat921unx/webhelp/natux-webhelp/utis/profiler_batch_mode.htm#Profiler_batch_start_pause.


  • Sagi Achituv
    Reply
    |
    Nov 9, 2022

    I think that Code Coverage is currently started at the beginning of the process, so the whole executed code is analyzed for future reference, although can be filtered. it may create large data files and use CPU cycles the whole time the process is active, which may be long if it is a Batch or an RPC. The ability to dynamically start and stop the activation of the Code Coverage, similar to what is available for Natural Profiler , can be useful - jence limiting the file sizes and resource usage. I would vote for an API , similar to USR8210 (I think) , to activate/deactivate the Code Coverage activity .