Skip to content

SEP - Debug engine unable to locate source file #5

@heymchri

Description

@heymchri

I'm trying to debug a program that was compiled from a STMF. Source has been deployed to the IFS, program was compiled from that STMF.
However, after setting the SEP, when the program gets executed, the debug window shows:

Could not load source '/home/HEYMCHR/builds/xa/crm/qrpglesrc/imc71m0r - Load buffer from database.pgm.rpgle': EQARD1066E The debug engine could not locate the source or listing file /home/HEYMCHR/builds/xa/crm/qrpglesrc/imc71m0r - Load buffer from database.pgm.rpgle.

Program info shows:

Image

Streamfile is in the IFS in this location:

Image

Why can't the debugger find this source?

I have attached the trace file (DAP.txt) - no EPDC.txt file was generated.

PDT_DAAS_20250307_171113_0349_2_DAP.txt

Context Version
Code for IBM i version 2.15.2
Visual Studio Code version 1.97.2
Operating System darwin_arm64
Active extensions
.NET Install Tool (vscode-dotnet-runtime): 2.2.8
Amazon Q (amazon-q-vscode): 1.50.0
C# (csharp): 2.63.32
C# Dev Kit (csdevkit): 1.16.6
CL (vscode-clle): 1.1.7
COBOL (cobol): 25.3.3
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.9.3
Debugger for Java (vscode-java-debug): 0.58.1
Dev Containers (remote-containers): 0.401.0
Docker (vscode-docker): 1.29.4
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.24.0
Excel Viewer (gc-excelviewer): 4.2.63
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitLess (gitless): 11.7.2
Gradle for Java (vscode-gradle): 3.16.4
Grunt support for VS Code (grunt): 1.0.0
Gulp support for VSCode (gulp): 1.0.0
IBM i Debug (ibmidebug): 2.0.2
JSON Language Features (json-language-features): 1.0.0
Jake support for VS Code (jake): 1.0.0
Jira and Bitbucket (Atlassian Labs) (atlascode): 3.4.12
Language Support for Java(TM) by Red Hat (java): 1.40.0
Live Preview (live-server): 0.4.15
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
NPM support for VS Code (npm): 1.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Overtype (overtype): 0.5.0
Prettier - Code formatter (prettier-vscode): 11.0.0
Print (vscode-print): 1.2.1
Project Manager for Java (vscode-java-dependency): 0.24.1
RPGLE (vscode-rpgle): 0.28.6
Server Ready Action (debug-server-ready): 1.0.0
Source Orbit (vscode-sourceorbit): 1.0.2
TODO Highlight (vscode-todo-highlight): 1.0.5
Task Buttons (vscode-task-buttons): 1.1.3
Test Runner for Java (vscode-java-test): 0.43.0
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
YAML (vscode-yaml): 1.17.0
vscode-icons (vscode-icons): 12.11.0

Remote system
Setting Value
IBM i OS V7R5M0
Tech Refresh 5
CCSID Origin 37
Runtime CCSID 37
Default CCSID 37
SSHD CCSID ?
cqsh true
SQL Enabled
Source dates Enabled

Enabled features

/QOpenSys/pkgs/bin /usr/bin /QSYS.lib/ILEDITOR.lib /QSYS.LIB /QIBM/ProdData/IBMiDebugService/bin /QOpenSys/QIBM/ProdData/JavaVM/jdk80 /QOpenSys/QIBM/ProdData/JavaVM/jdk11 /QOpenSys/QIBM/ProdData/JavaVM/jdk17
bash attr GETNEWLIBL.PGM QZDFMDB2.PGM startDebugService.sh 64bit 64bit 64bit
chsh iconv
git setccsid
ls tar
md5sum uname
sort
stat
Shell env
BUILDLIB=QGPL
CURLIB=QGPL
HOME=/home/HEYMCHR
HOST=usalid50.infor.com
LIBLS=HEYMCHR QTEMP QGPL
LOGIN=heymchr
LOGNAME=heymchr
MAIL=/var/spool/mail/heymchr
OLDPWD=/home/HEYMCHR
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/usr/bin:/usr/bin
PWD=/home/HEYMCHR
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=10.61.4.120 59186 22
SSH_CONNECTION=10.61.4.120 59186 10.39.117.78 22
TGTRLS=*CURRENT
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
USER=heymchr
USERNAME=heymchr
WORKDIR=/home/HEYMCHR
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "#@$"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions