× 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.



Hi Morgan,

It sounds to me like the Distributed Debugger should be a good option in
your situation.
Now, it does sound like you are running into a number of problems. I was
wondering if you
could send me some of your OS/400 and product information and let me see
what we can
figure out. (my e-mail address is at the bottom of this note).


Thanks,
Vadim Berestetsky
Distributed Debugger Development
Internet:  berestet@ca.ibm.com


"Morgan Najjar" <morgan2@charter.net>@midrange.com on 01/12/2002 05:52:58
PM

Please respond to code400-l@midrange.com

Sent by:  code400-l-admin@midrange.com


To:   <code400-l@midrange.com>
cc:
Subject:  Is CODE going to help me?


This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Hi.

I'm new to the AS400 and Websphere Dev Tools, CODE tools, etc. and am
trying to get my bearings.
I'm not even sure if these tools are applicable to my situation.  Any
help would be greatly appreciated.

Here's my situation:

I'm working on porting a fairly large C application from Unix to
AS400.  Working natively on the AS400 (using the client access
emulator), I've been able to compile all the modules with the CRTCMOD
command and to create the PGM file.  I've also experimented slightly
with running the program in the debugger (again over the emulator).
All the source code is on the AS400, it is not currently on my local
pc.

I'm now especially interested in seeing if I have any better debugging
options.  I've loaded the Websphere Dev Tools and I'm experimenting
and keep running into roadblocks.

Specifically I've tried 2 things:

1) I opened the CODE Project Organizer, created a project, and added
one filter for the PGM in my library.  My PGM file correctly shows up
in the right side panel.  Right clicking on it seems to give several
debugging options.  "Host Debug" seems to work, but it runs in the
attached emulator window and offers no gui advantages.  Both of the
other debug options appear to execute a CODEDBG command, but both fail
with the error, "The name specified is not recognized as an internal
or external command, operating program, or batch file.".  Also the
Help buttons don't work in here (I've seen mention of that in other
messages and am researching that.)

2) I also tried loading the "IBM Distributed Debugger", which is
currently listed under the "Visual Age for Java" program group.  I
chose File->Load Program, then went to the AS400 tab, entered my
<library name>/<pgm name> as the name of program to be debugged, and
clicked the "Load" button.  I got an AS400 login prompt, where I
entered my login and password (and thought "so far so good").  Then
comes up a "starting" dialog with a slider bar the seems to indicate
that the program is loading.  However, it never goes away, and nothing
happens from there.

Are one or both of these tools applicable in the situation that I
currently have?  I'm especially thinking of C code, residing on AS400
and not locally.  I'm looking to have a gui debugging environment with
a call stack, etc.

I'm not opposed to keeping the source locally if that would be better.

Thanks very much for any advice or information.

Morgan

--

_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.







As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.