How to debug macros
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 07:40 AM
I am using Istanbul version
Please explain how to debug macro?
I set this GlideProperties.set ( 'glide.ui.template.trace' , true ) ;
I saw this
<g:breakpoint/>
This tag can be used to display the current Jelly variables and their values in the log. Be sure to remove this tag before going to production.
in documentation but how to use this? Inside macro code? Where? How can I see the log?
Please post some example if possible
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 11:56 AM
When you get that Script Complete page, that means session debug is enabled. In this case it's enabled the debug where you can see the log output - pretty much what goes into the Server Node Log Files. Those debug options are covered here: Session debug
So, this is good. You've activated it. Now, as you navigate the UI, debug is being generated and put at the bottom of a form, list and UI Page. For example, while it's active, open up an existing Incident and scroll below the form, you will see some additional info that's not normally part of the form. This is used heavily in Customer Support to investigate issues.