- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2019 01:49 AM
Hi,
While trying to debug the business rules script the script debugger is not responding.
I have placed the code in business rules > script pane. The condition is placed to trigger business rule is implemented 'after database Insert' on 'live_message'.
Since last successful update of Madrid. Debugger is not working properly. Breakpoints are not able to pause the flow of execution.
Kindly help.
Regards
aj
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2020 01:18 PM
I have a script include in a scoped app that I used to be able to step through in the debugger and now the Debugger just sits at Status: WAITING_FOR_FIRST_BREAKPOINT user: System Administrator.
I read in Doc's that it will work if isInteractive() is true
var interActive = gs.getSession().isInteractive();
gs.info(interActive);
When I run this in scripts background, it says false. I know I used to be able to call this and step through, any suggestions or ideas?
Just created this test in a scoped app:
created basic script include and set accessible from "all application scopes"
name: test
script:
function test() {
return 'hello world';
}
// called from scripts backgroun in the same scope
gs.info(test()); // hello world
launched script debugger from the script include, added break point and it never stops at breakpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-04-2023 05:09 AM
This was exactly the case for me, wanted to debug a "script includes" which is being called from a "catalog client script" via GlideAjax.
Created a BR, onLoad; triggered the "script includes" from there; and voila was able to hit the breakpoint on the very first go.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2024 04:32 PM
Do you have an example of this code that worked. I took my code and tried to do as you suggest putting it into a before update trigger. However, I get an exception saying GlideAjax is not defined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 12:45 PM
I'm in the same boat. Did you ever get an answer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2022 12:49 PM
I have similar trouble. Can't get Script Debugger to work on my Fix Script. The script works fine. Is says Status: WAITING_FOR_FIRST_BREAKPOINT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2022 09:06 AM
I am having the same issue. What is odd is that it was working fine until few days ago, and there has been no upgrade to the instance since. So I am completely puzzled to why it stop working.