Logging line number of Script Includes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2019 06:56 AM
Is it possible to log the line number of a script includes for debugging?
I have a very long Script Includes called during an import transform map. It would be very helpful for debugging to identify some of the specific lines processed. I added several gs.log entries into the Script Includes but it is cumbersome to accurately maintain the gs.log("line number X") when adding lines to or removing lines from the Script Includes. Is there a dynamic function that can more dynamically record the Script Includes line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2019 09:45 AM
"catch" doesn't work in a Script Includes but thanks anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-29-2019 08:14 PM
I was looking for a server-side way to dynamically identify the line location of a server-side script includes. I worked around it though.