Rich,

I use DBGVIEW(*ALL) OPTIMIZE(*NONE)

Bob

-----Original Message-----
From: c400-l-admin@midrange.com [mailto:c400-l-admin@midrange.com]On
Behalf Of Rich Duzenbury
Sent: Friday, October 25, 2002 3:23 PM
To: c400-l@midrange.com; c400-l@midrange.com
Subject: Re: [C400-L] Can't debug (with source view)

It's not working for me.  Here is the simplest example I can come up
with:

RDUZENBURYS/HELLO member HELLO
#include <stdio.h>
void main(void) {
   printf( "Hello, World!\n");
}

CRTBNDC PGM(RDUZENBURS/HELLO)
         SRCFILE(RDUZENBURS/HELLO)
         OUTPUT(*print)
         DBGVIEW(*LIST)

STRDBG PGM(RDUZENBURS/HELLO)

(source not available)

This is getting frustrating!


At 02:56 PM 10/25/02, dyokana wrote:
>Rich:
>
>*list works for me.
>
>-Davis Yokana
>
>---------- Original Message ----------------------------------
>From: Rich Duzenbury <rduz@westernmidrange.com>
>Reply-To: c400-l@midrange.com
>Date: Fri, 25 Oct 2002 13:51:49 -0500
>
> >Hi,
> >
> >I'm trying to get source level debugging to work for a C program on
a V5R1
> >machine.  I've been at it for awhile with no success.  In checking
the
> >manual, all I should have to do is to specify DBGVIEW other than
*NONE, and
> >perhaps an OPTION such as *SHOWUSR.  But it doesn't work for me.  I
always
> >get the 'source not available' message from STRDBG.
> >
> >I must be making some simple error -- I just can't see what it is.
If you
> >could give me some pointers, I would be grateful.

_______________________________________________
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/c400-l
or email: C400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.



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-2019 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].