Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
NipunaRanasinghe committed Jan 3, 2025
1 parent a310f55 commit 100723a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ private void processEvent(EventSet eventSet, Event event) {
// to reach the ballerina source.
// TODO: Revert once the low-code mode supports rendering external sources.
if (clientConfigs.isLowCodeMode() && hasSteppedIntoExternalSource(stepEvent)) {
context.getAdapter().getOutputLogger().sendDebugServerOutput("Debugging external sources is not " +
"supported in low-code mode. Stepping-out to reach the ballerina source.");
DebugOutputLogger logger = context.getAdapter().getOutputLogger();
logger.sendDebugServerOutput("Stepping into external sources is not supported in low-code mode.");
sendStepRequest(threadId, StepRequest.STEP_OUT);

Check warning on line 157 in misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java

View check run for this annotation

Codecov / codecov/patch

misc/debug-adapter/modules/debug-adapter-core/src/main/java/org/ballerinalang/debugadapter/JDIEventProcessor.java#L155-L157

Added lines #L155 - L157 were not covered by tests
} else if (isBallerinaSource(stepEvent.location())) {
notifyStopEvent(event);
Expand Down

0 comments on commit 100723a

Please sign in to comment.