Skip to content

DBGM0006E Failed to set service entry point due to MCH3402 #24

@heymchri

Description

@heymchri

Scenario:

  1. Compile a program from a source member
  2. Set an SEP
  3. Debug the program
  4. Remove the SEP
  5. Delete the program object
  6. Compile the program again from the source member
  7. Set an SEP -> DBGM006E Failed to set service entry point on ... *PGM. Reason: Server: MCH3402 Tried to refer to all or part of an object that no longer exists.

Image

I need to restart the Debug Service before I can set the SEP again.


Context Version
Code for IBM i version 2.16.1
Visual Studio Code version 1.100.3
Operating System darwin_arm64
Active extensions
.NET Install Tool (vscode-dotnet-runtime): 2.3.5
Amazon Q (amazon-q-vscode): 1.72.0
Amazon Q for command line (codewhisperer-for-command-line-companion): 1.12.0
Atlassian: Jira & Bitbucket (atlascode): 3.8.3
CL (vscode-clle): 1.1.7
COBOL (cobol): 25.6.1
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.13.0
Debugger for Java (vscode-java-debug): 0.58.2
Dev Containers (remote-containers): 0.413.0
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.26.0
Excel Viewer (gc-excelviewer): 4.2.63
Extension Pack for Java (vscode-java-pack): 0.29.2
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitHub Copilot (copilot): 1.333.0
GitHub Copilot Chat (copilot-chat): 0.27.3
GitLab Workflow (gitlab-workflow): 6.23.0
GitLess (gitless): 11.7.2
IBM i Debug (ibmidebug): 3.0.0
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.3
IntelliCode (vscodeintellicode): 1.3.2
JSON Language Features (json-language-features): 1.0.0
Language Support for Java(TM) by Red Hat (java): 1.42.0
Maven for Java (vscode-maven): 0.44.0
Merge Conflict (merge-conflict): 1.0.0
NPM support for VS Code (npm): 1.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Prettier - Code formatter (prettier-vscode): 11.0.0
Print (vscode-print): 1.4.1
Project Manager for Java (vscode-java-dependency): 0.24.1
RPGLE (vscode-rpgle): 0.29.2
SQL Server (mssql) (mssql): 1.32.1
Server Ready Action (debug-server-ready): 1.0.0
Source Orbit (vscode-sourceorbit): 1.1.1
TODO Highlight (vscode-todo-highlight): 1.0.5
Task Buttons (vscode-task-buttons): 1.3.1
Test Runner for Java (vscode-java-test): 0.43.1
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
YAML (vscode-yaml): 1.18.0
vscode-icons (vscode-icons): 12.13.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
find setccsid
git uname
grep
ls
md5sum
sort
stat
tar
tn5250
Shell env
BUILDLIB=AEALIB
CURLIB=AEALIB
HOME=/home/HEYMCHR
HOST=usalil2c.infor.com
LIBLS=XA10M7X1O HEYMCHR AEALIB AEFLIB 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.223 55842 22
SSH_CONNECTION=10.61.4.223 55842 10.39.80.80 22
TGTRLS=V7R4M0
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
USER=heymchr
USERNAME=heymchr
WORKDIR=/home/HEYMCHR
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "#@$",
  "qsysNameRegex": {}
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions