+ Reply to Thread
Results 1 to 5 of 5

Thread: Debug is simple, right?

  1. #1
    EDIguru Guest

    Default Debug is simple, right?

    I am trying to run an ILE CL program in debug mode on one of our test boxes. I have run debug zillions of times, no problem. But something very strange is occuring, and what makes this even more odd is that I had this program successfully running in debug yesterday morning on the test box. It will run on our development box in debug, my co-worker can run it in debug on the test box. But for some reason, it will no longer run for me. Here is what happens: When I issue the command, STRDBG PGM(MYLIB/MYCLPGM) UPDPROD(*YES), all is well. The module source displays. Until I hit f10 and then issue the command to run the program: CALL PGM(MYLIB/MYCLPGM) PARM('9999'). Instead of going into the source and allowing me to step thru the code, the program takes off and runs. I still have to do an ENDDBG also before I attempt to put it back into debug mode again after this. If anyone has ever seen this occur before, information would be greatly appreciated.

  2. #2

    Default Re:Debug is simple, right?

    I would *guess* you had the pgm in debug with *INLR=*OFF (still in memory), recompiled it and now the previous object is in the QRPLOBJ library, still active. And then you debug the newer object, which the job ignores on the CALL since the old object is still in memory. Does the problem go away if you signoff/signon and debug again? Chris

  3. #3
    EDIguru Guest

    Default Re:Debug is simple, right?

    This code has not been re-compiled on the test box (not even possible to do on our test boxes). It was compiled on the Development box using Implementer with DBGVIEW = *ALL and installed to the test box. The problem does not go away if I signoff, which is what is totally frustrating about this issue.

  4. #4

    Default Re:Debug is simple, right?

    Forgive me for asking, but did you set a breakpoint (F6) on the first line of code before CALL-ing it? Chris

  5. #5
    EDIguru Guest

    Default Re:Debug is simple, right?

    Actually I did try that, but normally I can call any program without pre-setting a break point in it and still step through it. However, this will not go into the source code by either method.

+ Reply to Thread

Similar Threads

  1. Need Simple DDS / CL for Menu
    By klaborde in forum CL
    Replies: 2
    Last Post: 05-08-2009, 01:50 PM
  2. Three Simple RPG Tips
    By Guest.Visitor in forum RPG
    Replies: 5
    Last Post: 08-07-2003, 10:17 AM
  3. A Simple Question from a Simple mind... Telnet Session.
    By Guest.Visitor in forum System Administration
    Replies: 5
    Last Post: 12-03-2001, 08:44 AM
  4. Seems simple but..
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 09-06-2000, 02:14 PM
  5. Simple TCP/IP Printing to HP4 - Again
    By Guest.Visitor in forum Application Software
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts