BlackFriday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

IBM Exam C1000-138 Topic 5 Question 12 Discussion

Actual exam question for IBM's C1000-138 exam
Question #: 12
Topic #: 5
[All C1000-138 Questions]

A developer would like to run the step debugger on the Gatewayscript policy that is part of the Assembly.

What would allow step debugging on the Gatewayscript?

Show Suggested Answer Hide Answer
Suggested Answer: A

To enable step debugging on a GatewayScript policy in IBM API Connect v10.0.3, a developer must add a debugger; statement within the GatewayScript code. This statement serves as a breakpoint that will pause execution, allowing the developer to step through the code to identify and resolve issues.

Other options are incorrect:

Option B and D ('Enable step debug in the Test tab' and 'Enable debug checkbox in Assemble') do not enable the step debugger in GatewayScript.

Option C ('Click the Trace in the Test tab') allows tracing but not step debugging.


IBM API Connect v10.0.3 Documentation: Debugging GatewayScript Policies

Contribute your Thoughts:

Craig
3 days ago
Haha, who needs a step debugger when you can just throw some console.log() statements all over the place? That's the real developer's way!
upvoted 0 times
...
Devora
6 days ago
D looks good to me. Enabling the debug checkbox in Assemble would make sense for step debugging.
upvoted 0 times
...
Janella
20 days ago
I disagree, I believe the answer is B) Enable step debug in the Test tab.
upvoted 0 times
...
Nidia
21 days ago
I think the answer is B. Enabling step debug in the Test tab seems like the most straightforward way to run the step debugger on the Gatewayscript policy.
upvoted 0 times
...
Nu
24 days ago
I think the answer is A) Add a debugger; statement.
upvoted 0 times
...

Save Cancel