Re: Debugging C program strings with STRDBG
Patrik Schindler <[email protected]> Fri, 5 Sep 2025 13:33:24 +0200
| Newsgroups | gmane.comp.lang.as400.c |
|---|---|
| Message-ID | <[email protected]> |
Hello Niels, Am 05.09.2025 um 00:05 schrieb Niels Liisberg <nli-y1igGha7WhZnI0JKdf8LmQC/[email protected]>: > I was sarcastic .. it is not obvious.. No big deal. > 1) > "ev" is short for "eval" > > 2) > the * > is "what the pointer is pointing to" > > 3) > dataarea > Is the variable .. make sense ... > > 4) > :s > i wants to see it as as a string .. note you can use "x" here for > hexadecimal and "a" if data is in ascii /utf-8 > > 5) > 1000 > > then give me 1000 bytes, because i can't live with the default one the > debugger will provide . Thank you! > .... so let me be sarcastic again .... it's so simple :) :-) :wq! PoC -- This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/c400-l or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/c400-l.