Deal of The Day! 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 4 Question 23 Discussion

Actual exam question for IBM's C1000-138 exam
Question #: 23
Topic #: 4
[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:

Alline
2 days ago
Ah, the age-old debug conundrum. Why can't they just add a 'Debug Everything' button? That would make our lives so much easier.
upvoted 0 times
...
Leonor
3 days ago
Hmm, I'm torn between B and D. I'll have to double-check the documentation to make sure I'm not missing something.
upvoted 0 times
...
Pamela
4 days ago
I think enabling step debug in the Test tab makes more sense for step debugging.
upvoted 0 times
...
Kimberlie
5 days ago
I believe the correct answer is B) Enable step debug in the Test tab.
upvoted 0 times
...
Val
6 days ago
I agree with Francoise, adding a debugger statement should allow step debugging.
upvoted 0 times
...
Elfriede
6 days ago
Option D sounds tempting, but I'm not sure if that's the right approach. Enabling the debug checkbox in Assemble might not be specific enough for the Gatewayscript.
upvoted 0 times
Jules
3 days ago
A) Add a debugger; statement.
upvoted 0 times
...
...
Francoise
10 days ago
I think the answer is A) Add a debugger; statement.
upvoted 0 times
...
Gregg
28 days ago
I think option B is the correct answer. Enabling step debug in the Test tab should allow you to run the step debugger on the Gatewayscript.
upvoted 0 times
Latosha
16 days ago
Yes, that's correct. Option B is the way to go for step debugging in Gatewayscript.
upvoted 0 times
...
Francoise
18 days ago
Enabling step debug in the Test tab should allow you to run the step debugger on the Gatewayscript.
upvoted 0 times
...
Tequila
21 days ago
I think option B is the correct answer.
upvoted 0 times
...
...

Save Cancel