NEUGC and the Debugger
April 17, 2008
I just returned from two days of presenting at the Norteast User Groups Conference on various WDSC and RDi topics. A fun conference, with great attendees and lots of WDSC users!
A couple funny stories about the debugger while I was there. Earlier in the day on Wednesday Jon Paris was telling me about a problem he had seen at a customer site where the debugger was displaying an error about “retrieving children”. I said I had never seen or heard of the problem before. Later that afternoon I’m demoing the debugger in front of about 40 people. I set my service entry point, call my program, the debug perspective opens and up pops the exact same error. I guess I can reproduce that one now :) The good news is I was able to get some details about the error and it doesn’t appear to actually have any functional impact.
In the same demo , I’m stepping over a write to a display file and the F spec is highlighted and I’m hitting “step over” a few times until it gets to the next line, when someone in the audience tells me about the *NODEBUGIO compiler option. I never knew that even existed (and it’s always good to learn something new). What makes this even more funnier, is that about 20 minutes later (same session) another person in the audience asks if there is any way to prevent having to step over I/O multiple times in the debugger. Sure, just use *NODEBUGIO option when compiling your source :)
One last tidbit I learned this evening is that you can’t get the value of a CL variable to show in the hover box when debugging like you can with ILE RPG and COBOL. But this restriction is only if you are using the Remote Systems LPEX Editor as your debug editor (the default). If you switch to listing view in the debugger, or use the Debug Editor (preference on Run/Debug > Compiled Debug preference page) then you can get the value for CL variables to show in a hover box.