Debugging in DeltaV Live

Hello!

I would like to ask about debugging DeltaV Live graphics scripts. 

We have a DeltaV version 14 and a DeltaV version 15 development system.  When we started on the version 14 system, on any graphic (e.g. contextual detail display), I would simply add a debugger statement:

in the script I wanted to debug, run the graphic in DeltaV Live, press F12 to bring up developer tools, and when the code was hit, this would act as a breakpoint.  For example if this statement was added to a button script, and the developer tools was open, every time I click the button, it would stop at this point.  

When I try the same trick on our version 15 system, this no longer works.  

Is there a setting to enable this behavior? or is there other recommended options for debugging?

Thank you kindly,

Garrett.

  • Hello,

    This one was "operator error" on my part. I found out what I was doing wrong.

    I was trying to debug a contextual display. If the developer tools is open BEFORE the contextual display is opened then that developer tools window is associated with the main window, and nothing related to the contextual display will be captured.

    The correct way to do what I wanted was to open the contextual window first THEN press F12, and then the developer tools will be associated with that contextual display.

    Thank you kindly,
    Garrett.
  • In reply to garrett beaubien:

    I was having someone check this out but that makes sense...Yes F12 will only open the active displays logic (if the debug option is enabled on the object). If you want to do Display and CD....it's two F12's with each selected/active when F12 is hit.
  • In reply to Matt Stoner:

    Thank you Matt!

    Garrett.