Replies: 12 comments 65 replies
-
@cwbuck An age-old question. No. There is not. IBM will not share any details on the remote debugger and we have no idea what their plans are with that. No one from IBM is able to offer any public insight. I am aware that someone was working on a debugging, not specifically for VS Code, but one we could utilize. I am not sure of the status of that. This discussion makes me very frustrated because there isn't much I can do on my own here. |
Beta Was this translation helpful? Give feedback.
-
@worksofliam - any update on this front now that the TR has been released? |
Beta Was this translation helpful? Give feedback.
-
@worksofliam - just grabbed the new debugging feature today. First off, congrats on integrating this huge feature! This is very impressive. I know this is the initial release. What enhancements do you have in store for debugging? Will there be the ability to debug an active job at some point? |
Beta Was this translation helpful? Give feedback.
-
With the debugging extension active, I have a small issue when doing source merge actions. Where would I create an issue for this? Here or someplace else? The issue is when I am using the merge function to remove lines on the right side that has been removed from the left side, the breakpoint marker is set. Disabling the debug extension, the above does not happen. |
Beta Was this translation helpful? Give feedback.
-
The debugger is pretty slick ;-) Thanks - Code for IBM i is getting closer to replacing RDi in our org! When debugging c it displays the variable and it's pointer, like this:
Using strdbg interactively we dereference the pointer and cast/display in a specific formats, like this:
or
Is there something equivalent in Code for IBM i's debugger? |
Beta Was this translation helpful? Give feedback.
-
Hey! Thanks so much for making this.
I don't know exactly why since the message received is blank. Here's how my port for 8005 is set up on the AS400
In my DebugServices.env, I have the secured port set to 8005. What could be causing this to not find the port? |
Beta Was this translation helpful? Give feedback.
-
Hi I had version 1 of IBM i debugger working nicely but really wanted to use service entry points so could target more than just batch programs but on adding Java 11 (option 19) to our V7R5 machine and PTF SI86229 (and its prerequisite PTF SI81035) but I am still getting the error below when trying to set a service entry point or debug a batch program. I ended the version 1 debug service job and then uncommented the Java 11 Home variable in startDebugService.sh to ensure Java 11 is being used and then regenerated the certificates? The only thing I havent done is install PTF SI83666 but this seems to fix a bug in Kerberos authentication and that is not being used. Created IBM i connection (host: LOCALHOST, user: ROBINSONG) Any help would be much apprepreciated as adding debugging would make code for i would be the cherry on the cake for already excellent tool! |
Beta Was this translation helpful? Give feedback.
-
Has anybody succesfully used Service Entry Points to debug ODBC jobs? I have it working fine for interactive and for trigger programs when doing the inserts via the green screen but when doing an insert via an ODBC job the process is stopping on the SEP but the source code is not coming up to debug? After a time of about 60 seconds it times out and the update takes place succesfully? I cannot see any errors job logs on the ODBC or the debug server job. Not sure what the SELF setting does? Does it increase the number of trace statements produced when tracign the SQL job? Could that help? I know there is an issue where the UPDPROD parameter is not being set at the moment for SEPs but it is a test library set to *TEST so shouldn't be an issue. My user profile I am testing on has *ALLOBJ etc. Has anybody any ideas? Many thanks! |
Beta Was this translation helpful? Give feedback.
-
Yes unforunately still not working, getting stuck with SEP ran through DB2 CL command. Created a trivially simple CL program with one var that had its value changed to strip things right back but no luck! One strange thing that seems to happen when you disable the SEP in VS Code by unchecking it, the save as dialogue opens for my unsaved SQL code! I only seem to get these entries for 5250 sessions nothing for QZDASOINIT jobs? EQARD1067I Remote Debug Service has generated the following trace files: 20240823_160426_0112 ->{"type":"event","seq":9,"event":"capabilities","body":{"capabilities":{"supportsFunctionBreakpoints":false,"supportsConditionalBreakpoints":true,"supportsHitConditionalBreakpoints":true,"supportsEvaluateForHovers":true,"supportsSetVariable":true,"supportsValueFormattingOptions":true,"supportsModulesRequest":true,"supportsSetExpression":true,"supportsRestartRequest":true,"supportsTerminateRequest":true}}}
Job . . : QZDASOINIT User . . : QUSER Number . . . : 793061
Press Enter to continue. F3=Exit F5=Refresh F12=Cancel F17=Top F18=Bottom Already at bottom of area. |
Beta Was this translation helpful? Give feedback.
-
@GROBINSO If you also have RDi, you can try the same ODBC debug scenario in RDi and report the RDi debug behaviour with your program. RDi and vscode debug share the same QB5 debug server component on the host. If RDi also has the same problem, then it is likely to be a problem in the debug server. |
Beta Was this translation helpful? Give feedback.
-
@worksofliam Question when is the debugger 2.0.0 is released or if it has been released? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Is there some sort of method for debugging IBM i programs and stepping through in VS Code? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions