× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Chris,

Try the following:

Click on the drop down beside the Bug icon, and click on Debug ... to bring
up the launch configuration dialog.
Click on "iSeries : Debug job" on the left pane, and click on New to create
a launch instance for attaching to an iSeries Job.
Use the Browse... button to search for the interactive or batch job you
want to debug (you could input the filter information before click on the
Browse... button)
Don't specify any program in the table, and make sure the Step into
checkbox is checked.
Click on Debug button.  You will get a message asking you to start your
application in iSeries.  Then you could do you I/O operation in 5250 and
the debug session should be started.


Or you could use Service Entry Point feature to start the debugger.
Right click on the program/service program (or expand it, and go to the
module or procedure level and right click) you want to debug in RSE, and
choose Debug (Service Entry) -> Set Service Entry Point to set a SEP.
Call your program in your interactive 5250 session, or submit the batch
job.  When the program/module/procedure where you set you SEP to is loaded,
a debug session will be started.  You could then set breakpoint on the line
you are interested (right before or after the exfmt statement, etc).

Thanks,

Xuan Chen,  Problem Determination Tools for iSeries
(905) 413-3769 T/L 969-3769
xuanchen@xxxxxxxxxx




                                                                           
             "chris beck"                                                  
             <cbeck@xxxxxxxxxx                                             
             om>                                                        To 
             Sent by:                  <wdsci-l@xxxxxxxxxxxx>              
             wdsci-l-bounces@m                                          cc 
             idrange.com                                                   
                                                                   Subject 
                                       [WDSCI-L] Debug a running program   
             10/05/2005 03:54                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                 Websphere                                                 
                Development                                                
             Studio Client for                                             
                  iSeries                                                  
                                                                           
                                                                           




Can anyone tell me how to debug a running interactive or batch program?  If
I have a program sitting on a exfmt or a error and try to start
iseries:debug job, it never starts.

Thanks

Chris Beck


--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.