New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

IBM C1000-138 Exam - Topic 3 Question 30 Discussion

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

0/2000 characters
Mi
4 days ago
C) Click the Trace in the Test tab. Seems the most straightforward option.
upvoted 0 times
...
Dexter
9 days ago
A) Add a debugger; statement. That's the only way to get real debugging done!
upvoted 0 times
...
Gary
14 days ago
D) Enable debug checkbox in Assemble.
upvoted 0 times
...
Renea
19 days ago
B) Enable step debug in the Test tab.
upvoted 0 times
...
Bette
24 days ago
I vaguely remember that enabling the debug checkbox in Assemble could be important, but I can't quite remember how it fits into the whole debugging process.
upvoted 0 times
...
Rebbeca
29 days ago
Clicking Trace in the Test tab sounds familiar, but I feel like it might just show logs instead of actually stepping through the code.
upvoted 0 times
...
Nilsa
1 month ago
I remember something about enabling step debug in the Test tab from our practice questions, but I can't recall if that's the right option here.
upvoted 0 times
...
Desire
1 month ago
I think adding a debugger; statement is definitely a part of enabling step debugging, but I'm not sure if it's the only thing needed.
upvoted 0 times
...
Shawnta
1 month ago
I'm feeling pretty confident about this one. The step debugging functionality is usually accessed through the Test tab, so I'm going to go with B. Enabling that option should give me the ability to step through the Gatewayscript.
upvoted 0 times
...
Gilberto
2 months ago
Okay, let me think this through. I'm pretty sure the debugger; statement is for JavaScript, not for Gatewayscript. And the Trace option in the Test tab is probably for something else. I'm leaning towards B, but I want to double-check the documentation just to be sure.
upvoted 0 times
...
Jennifer
2 months ago
Hmm, I'm a bit confused. Is it really that simple? I feel like there might be some other steps involved, but I can't quite put my finger on it.
upvoted 0 times
...
Dewitt
2 months ago
I think the answer is B. Enabling step debug in the Test tab seems like the most straightforward way to get the step debugger running on the Gatewayscript.
upvoted 0 times
...

Save Cancel