×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




yes.  You can use the BRK instruction in your MI code to associate the break
name
  BRK  '11500'  /* stmt 115.00  */
with its instruction number.

and you can add a breakpoint at an mi instruction:
  addbkp   '/000e'

variables can be displayed using DSPPGMVAR by refering to their ODT number
  dsppgmvar  '/005d'

-Steve

-----Original Message-----
From: mi400-bounces@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx]On
Behalf Of Paul Jackson
Sent: Thursday, February 26, 2004 6:31 PM
To: 'MI400@xxxxxxxxxxxx'
Subject: [MI400] Debugging MI code


Another newbie question:

Can you put MI programs into debug like regular RPG programs?  i.e. STRDBG
and step through the source?  If not how do I go about debugging variables
while an MI program is executing?

Thanks

|-----------------------------------
| Paul Jackson
|-----------------------------------
| iSeries 400 Technical Programming Analyst
| Costco Wholesale, Inc.
| 999 Lake Drive
| Issaquah, WA  98027-8990
|-----------------------------------
| Phone:  425-313-8594
| Fax:    425-313-6800
| Email:  mailto:pjackson@xxxxxxxxxx
|-----------------------------------
_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2026 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.