Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Those who don't understand Linux are doomed to reinvent it, poorly. -- unidentified source


computers / comp.sys.apple2 / ORCA/C v2.10 v2.2.0 B6 Prizm debugger

SubjectAuthor
* ORCA/C v2.10 v2.2.0 B6 Prizm debuggerTom Thumb
+- Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerTom Thumb
`* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerstephen...@gmail.com
 `* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerTom Thumb
  `* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerTom Thumb
   `* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerstephen...@gmail.com
    `* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerTom Thumb
     `* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerstephen...@gmail.com
      `* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerTom Thumb
       `* Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerstephen...@gmail.com
        `- Re: ORCA/C v2.10 v2.2.0 B6 Prizm debuggerTom Thumb

1
ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4963&group=comp.sys.apple2#4963

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ad4:4528:0:b0:4c7:8cda:8300 with SMTP id l8-20020ad44528000000b004c78cda8300mr5948732qvu.36.1670523779454;
Thu, 08 Dec 2022 10:22:59 -0800 (PST)
X-Received: by 2002:ac8:70c1:0:b0:3a6:68cb:cabe with SMTP id
g1-20020ac870c1000000b003a668cbcabemr55532365qtp.248.1670523779282; Thu, 08
Dec 2022 10:22:59 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 8 Dec 2022 10:22:58 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:a102:7200:cd09:cfa2:cf71:4fab;
posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 2603:7000:a102:7200:cd09:cfa2:cf71:4fab
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
Subject: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Thu, 08 Dec 2022 18:22:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1712
 by: Tom Thumb - Thu, 8 Dec 2022 18:22 UTC

Since upgrading ORCA/C 2.1.0 to 2.2.0 B6 I’m unable to enter the debugger using Prizm. If I set a breakpoint and try to run or compile I get an undeclared identifier error where the breakpoint is set.

Is this a known thing or is there something I haven’t done that I should? It seems to work using v2.1.0 though I’m having some difficulty using it with a desktop exe.

Unsetting a breakpoint doesn’t work in either version though I’ll be the first to admit I have no experience with it.

So, deal with it and use v2.2.0 B6 or revert to v2.1.0 or…?

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<2f2fd80b-39c5-429a-a81a-12722e7bd37an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4964&group=comp.sys.apple2#4964

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:514d:b0:3a5:258c:d69c with SMTP id ew13-20020a05622a514d00b003a5258cd69cmr73049166qtb.279.1670523981177;
Thu, 08 Dec 2022 10:26:21 -0800 (PST)
X-Received: by 2002:ad4:57a9:0:b0:4bb:699e:4cec with SMTP id
g9-20020ad457a9000000b004bb699e4cecmr68768521qvx.6.1670523980982; Thu, 08 Dec
2022 10:26:20 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 8 Dec 2022 10:26:20 -0800 (PST)
In-Reply-To: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:a102:7200:cd09:cfa2:cf71:4fab;
posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 2603:7000:a102:7200:cd09:cfa2:cf71:4fab
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2f2fd80b-39c5-429a-a81a-12722e7bd37an@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Thu, 08 Dec 2022 18:26:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1554
 by: Tom Thumb - Thu, 8 Dec 2022 18:26 UTC

On Thursday, December 8, 2022 at 1:23:00 PM UTC-5, Tom Thumb wrote:
> Since upgrading ORCA/C 2.1.0 to 2.2.0 B6 I’m unable to enter the debugger using Prizm...

Oh, I've gone over this using KEGS, Bernie ][ the Rescue, and my IIgs thinking it might be an emulator thing. Same results on all.

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4965&group=comp.sys.apple2#4965

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a0c:be84:0:b0:4aa:a0b7:7b41 with SMTP id n4-20020a0cbe84000000b004aaa0b77b41mr69658428qvi.66.1670539800411;
Thu, 08 Dec 2022 14:50:00 -0800 (PST)
X-Received: by 2002:a0c:d804:0:b0:4bb:7841:cbec with SMTP id
h4-20020a0cd804000000b004bb7841cbecmr73045123qvj.71.1670539800179; Thu, 08
Dec 2022 14:50:00 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 8 Dec 2022 14:49:59 -0800 (PST)
In-Reply-To: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.9.10.173; posting-account=cvqNrwoAAADJiyw_4wkUXsHtt8VSEQSl
NNTP-Posting-Host: 73.9.10.173
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: stephenh...@gmail.com (stephen...@gmail.com)
Injection-Date: Thu, 08 Dec 2022 22:50:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2399
 by: stephen...@gmail.com - Thu, 8 Dec 2022 22:49 UTC

On Thursday, December 8, 2022 at 12:23:00 PM UTC-6, justliketom...@gmail.com wrote:
> Since upgrading ORCA/C 2.1.0 to 2.2.0 B6 I’m unable to enter the debugger using Prizm. If I set a breakpoint and try to run or compile I get an undeclared identifier error where the breakpoint is set.
>
> Is this a known thing or is there something I haven’t done that I should? It seems to work using v2.1.0 though I’m having some difficulty using it with a desktop exe.
>
> Unsetting a breakpoint doesn’t work in either version though I’ll be the first to admit I have no experience with it.
>
> So, deal with it and use v2.2.0 B6 or revert to v2.1.0 or…?

This sounds like it could be a bug in ORCA/C 2.2.0 B6, but it is not one I'm aware of, and in a couple quick tests I could not reproduce it. I was able to set breakpoints in Prizm, build a small program without errors, and debug it using Prizm with ORCA/C 2.2.0 B6.

If you can provide more details, like an example program that has the problem and where exactly you're setting a breakpoint in it, I'd be happy to look into it more.

--
Stephen Heumann

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4966&group=comp.sys.apple2#4966

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ae9:f109:0:b0:6fa:22fd:94ca with SMTP id k9-20020ae9f109000000b006fa22fd94camr71341824qkg.338.1670560631714;
Thu, 08 Dec 2022 20:37:11 -0800 (PST)
X-Received: by 2002:ad4:57a9:0:b0:4bb:699e:4cec with SMTP id
g9-20020ad457a9000000b004bb699e4cecmr69042554qvx.6.1670560631548; Thu, 08 Dec
2022 20:37:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 8 Dec 2022 20:37:11 -0800 (PST)
In-Reply-To: <e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.185.98.244; posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 24.185.98.244
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com> <e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Fri, 09 Dec 2022 04:37:11 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3118
 by: Tom Thumb - Fri, 9 Dec 2022 04:37 UTC

On Thursday, December 8, 2022 at 5:50:01 PM UTC-5, stephen...@gmail.com wrote:
> On Thursday, December 8, 2022 at 12:23:00 PM UTC-6, justliketom...@gmail.com wrote:
> > Since upgrading ORCA/C 2.1.0 to 2.2.0 B6 I’m unable to enter the debugger using Prizm. If I set a breakpoint and try to run or compile I get an undeclared identifier error where the breakpoint is set.
> >
> > Is this a known thing or is there something I haven’t done that I should? It seems to work using v2.1.0 though I’m having some difficulty using it with a desktop exe.
> >
> > Unsetting a breakpoint doesn’t work in either version though I’ll be the first to admit I have no experience with it.
> >
> > So, deal with it and use v2.2.0 B6 or revert to v2.1.0 or…?
> This sounds like it could be a bug in ORCA/C 2.2.0 B6, but it is not one I'm aware of, and in a couple quick tests I could not reproduce it. I was able to set breakpoints in Prizm, build a small program without errors, and debug it using Prizm with ORCA/C 2.2.0 B6.
>
> If you can provide more details, like an example program that has the problem and where exactly you're setting a breakpoint in it, I'd be happy to look into it more.
>
> --
> Stephen Heumann

Oh, so it works for you. Thank you for verifying that. I'm inclined to believe my install is suspect. It's all based on a years old install on my IIgs. It seems to me there are other troubles. I think my best course of action is a fresh install. Ah, where to start...

Curious; compiling from the shell the executable's subtype is $0100 and runs invoked from the shell. Compiling in Prizm the executable's subtype is $DB01. That will run in Prizm's shell window but will crash from the text shell. Is that what is?

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4967&group=comp.sys.apple2#4967

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:8cf:b0:3a4:ef5c:c69d with SMTP id i15-20020a05622a08cf00b003a4ef5cc69dmr46846852qte.194.1670593232687;
Fri, 09 Dec 2022 05:40:32 -0800 (PST)
X-Received: by 2002:a37:de11:0:b0:6ed:d040:c175 with SMTP id
h17-20020a37de11000000b006edd040c175mr71074561qkj.536.1670593232519; Fri, 09
Dec 2022 05:40:32 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Fri, 9 Dec 2022 05:40:32 -0800 (PST)
In-Reply-To: <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.185.98.244; posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 24.185.98.244
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com> <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Fri, 09 Dec 2022 13:40:32 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2774
 by: Tom Thumb - Fri, 9 Dec 2022 13:40 UTC

On Thursday, December 8, 2022 at 11:37:12 PM UTC-5, Tom Thumb wrote:

>> I think my best course of action is a fresh install. Ah, where to start....

This morning I'm not so sure anymore.

> On Thursday, December 8, 2022 at 5:50:01 PM UTC-5, stephen...@gmail.com wrote:

> > If you can provide more details, like an example program that has the problem and where exactly you're setting a breakpoint in it, I'd be happy to look into it more.
> >

Even simplest code setting a break point doesn't work for me:

#include <stdio.h>

void main(void)
{ int i,x;

printf("Say what? \n");

for(i = 0; i < 11; i++)
{

x = i * 2;
}

printf("What do you mean?\n");

}
I'll place the cursor at the beginning of the line "x = I * 2;", set a breakpoint, either from the debug menu or OA-H and try to trace through or otherwise compile and I'll get a stop alert "undeclared identifier" . The shell window points to x as an undeclared identifier. It seems the breakpoint is set as a ^D. If I don't set a breakpoint and just select step from the debug menu I can step through the code and display variables in the variable window as expected.

I'm not sure what I have wrong. I was thinking that updating v2.1.0 to v2.2..0 B6 doesn't overwrite everything and leaves some old stuff untouched and that is where the problem lies but I'm not sure that is so.

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4968&group=comp.sys.apple2#4968

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:91:b0:3a8:9c5:8698 with SMTP id o17-20020a05622a009100b003a809c58698mr44195qtw.18.1670620223100;
Fri, 09 Dec 2022 13:10:23 -0800 (PST)
X-Received: by 2002:ac8:4d05:0:b0:394:24cb:b18d with SMTP id
w5-20020ac84d05000000b0039424cbb18dmr88450923qtv.468.1670620222883; Fri, 09
Dec 2022 13:10:22 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Fri, 9 Dec 2022 13:10:22 -0800 (PST)
In-Reply-To: <7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.9.10.173; posting-account=cvqNrwoAAADJiyw_4wkUXsHtt8VSEQSl
NNTP-Posting-Host: 73.9.10.173
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com> <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
<7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: stephenh...@gmail.com (stephen...@gmail.com)
Injection-Date: Fri, 09 Dec 2022 21:10:23 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3321
 by: stephen...@gmail.com - Fri, 9 Dec 2022 21:10 UTC

On Friday, December 9, 2022 at 7:40:33 AM UTC-6, justliketom...@gmail.com wrote:
> Even simplest code setting a break point doesn't work for me:
>
> #include <stdio.h>
>
> void main(void)
> {
> int i,x;
>
> printf("Say what? \n");
>
> for(i = 0; i < 11; i++)
> {
>
> x = i * 2;
> }
>
> printf("What do you mean?\n");
>
> }
> I'll place the cursor at the beginning of the line "x = I * 2;", set a breakpoint, either from the debug menu or OA-H and try to trace through or otherwise compile and I'll get a stop alert "undeclared identifier" . The shell window points to x as an undeclared identifier. It seems the breakpoint is set as a ^D. If I don't set a breakpoint and just select step from the debug menu I can step through the code and display variables in the variable window as expected.

I tried doing the same thing with the exact code that you posted, and I'm still not seeing the problem. One thing to check is to make sure that there isn't actually an undeclared identifier. If the line is actually "x = I * 2;" with a capital I, then that would be an undeclared identifier, since C is case-sensitive. If that's not the issue, then I suspect it's some problem with your setup.

> I'm not sure what I have wrong. I was thinking that updating v2.1.0 to v2..2.0 B6 doesn't overwrite everything and leaves some old stuff untouched and that is where the problem lies but I'm not sure that is so.

It's true that the ORCA/C 2.2.0 B6 update does not overwrite everything, so if there was some problem with your ORCA installation, it might still exist. I'd suggest making a copy of the stock ORCA installation from Opus ][, applying the ORCA/C 2.2.0 B6 update on top of that, and seeing if you still have the issue there. If not, it was likely a problem with your old installation.

--
Stephen Heumann

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<e3ef3c8a-b060-4601-8ac5-ccc10c3a3d77n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4969&group=comp.sys.apple2#4969

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a0c:be84:0:b0:4aa:a0b7:7b41 with SMTP id n4-20020a0cbe84000000b004aaa0b77b41mr69871392qvi.66.1670634080336;
Fri, 09 Dec 2022 17:01:20 -0800 (PST)
X-Received: by 2002:a05:620a:13d7:b0:6fb:57cb:47ce with SMTP id
g23-20020a05620a13d700b006fb57cb47cemr69820409qkl.452.1670634080166; Fri, 09
Dec 2022 17:01:20 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Fri, 9 Dec 2022 17:01:19 -0800 (PST)
In-Reply-To: <0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.185.98.244; posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 24.185.98.244
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com> <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
<7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com> <0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e3ef3c8a-b060-4601-8ac5-ccc10c3a3d77n@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Sat, 10 Dec 2022 01:01:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4216
 by: Tom Thumb - Sat, 10 Dec 2022 01:01 UTC

On Friday, December 9, 2022 at 4:10:24 PM UTC-5, stephen...@gmail.com wrote:
> On Friday, December 9, 2022 at 7:40:33 AM UTC-6, justliketom...@gmail.com wrote:
> > Even simplest code setting a break point doesn't work for me:
> >
> > #include <stdio.h>
> >
> > void main(void)
> > {
> > int i,x;
> >
> > printf("Say what? \n");
> >
> > for(i = 0; i < 11; i++)
> > {
> >
> > x = i * 2;
> > }
> >
> > printf("What do you mean?\n");
> >
> > }
> > I'll place the cursor at the beginning of the line "x = I * 2;", set a breakpoint, either from the debug menu or OA-H and try to trace through or otherwise compile and I'll get a stop alert "undeclared identifier" . The shell window points to x as an undeclared identifier. It seems the breakpoint is set as a ^D. If I don't set a breakpoint and just select step from the debug menu I can step through the code and display variables in the variable window as expected.
> I tried doing the same thing with the exact code that you posted, and I'm still not seeing the problem. One thing to check is to make sure that there isn't actually an undeclared identifier. If the line is actually "x = I * 2;" with a capital I, then that would be an undeclared identifier, since C is case-sensitive. If that's not the issue, then I suspect it's some problem with your setup.
> > I'm not sure what I have wrong. I was thinking that updating v2.1.0 to v2.2.0 B6 doesn't overwrite everything and leaves some old stuff untouched and that is where the problem lies but I'm not sure that is so.
> It's true that the ORCA/C 2.2.0 B6 update does not overwrite everything, so if there was some problem with your ORCA installation, it might still exist. I'd suggest making a copy of the stock ORCA installation from Opus ][, applying the ORCA/C 2.2.0 B6 update on top of that, and seeing if you still have the issue there. If not, it was likely a problem with your old installation.
>
> --
> Stephen Heumann

The "x = I * 2;" was a typo. The code compiles and runs okay if I don't set a breakpoint. I'm having a problem compiling from Prizm also, a bit difficult to go into and describe, I've been compiling and running from the text shelling so hadn't really delved into it until I wanted to set a breakpoint and check something.

I'm unaware of Opus ][, I'll have to check into it. I have my original diskettes and copies of ORCA/M and ORCA/C and figured I'd probably reinstall on my IIgs first or maybe make disk images and create a new install with Bernie or KEGS. Finding time to fit that in is a bit problematic but thank you and I'll post what becomes of it when I do.

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<585eb1bd-b282-4fb1-b267-2fe89f32833bn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4970&group=comp.sys.apple2#4970

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a37:c442:0:b0:6ff:1118:341f with SMTP id h2-20020a37c442000000b006ff1118341fmr127646qkm.351.1670636394609;
Fri, 09 Dec 2022 17:39:54 -0800 (PST)
X-Received: by 2002:a05:6214:161:b0:4c6:f7a1:90b1 with SMTP id
y1-20020a056214016100b004c6f7a190b1mr47328594qvs.96.1670636394350; Fri, 09
Dec 2022 17:39:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Fri, 9 Dec 2022 17:39:54 -0800 (PST)
In-Reply-To: <e3ef3c8a-b060-4601-8ac5-ccc10c3a3d77n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.9.10.173; posting-account=cvqNrwoAAADJiyw_4wkUXsHtt8VSEQSl
NNTP-Posting-Host: 73.9.10.173
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com> <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
<7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com> <0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>
<e3ef3c8a-b060-4601-8ac5-ccc10c3a3d77n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <585eb1bd-b282-4fb1-b267-2fe89f32833bn@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: stephenh...@gmail.com (stephen...@gmail.com)
Injection-Date: Sat, 10 Dec 2022 01:39:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2343
 by: stephen...@gmail.com - Sat, 10 Dec 2022 01:39 UTC

On Friday, December 9, 2022 at 7:01:21 PM UTC-6, justliketom...@gmail.com wrote:
> I'm unaware of Opus ][, I'll have to check into it. I have my original diskettes and copies of ORCA/M and ORCA/C and figured I'd probably reinstall on my IIgs first or maybe make disk images and create a new install with Bernie or KEGS. Finding time to fit that in is a bit problematic but thank you and I'll post what becomes of it when I do.

Opus ][ is a collection of all the ORCA languages and other Byte Works products, including a disk image with all the software preinstalled. It's available here:
https://juiced.gs/store/opus-ii-software/

That said, you can also get a "clean" installation of ORCA/C 2.2.0 B6 by installing ORCA/C 2.1.0 from the original floppy disks, and then applying the ORCA/C 2.2.0 B6 update.

--
Stephen Heumann

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<1e0c45ac-8f60-4de5-866f-f70c18f83f8fn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4981&group=comp.sys.apple2#4981

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ad4:52e7:0:b0:4e1:bb55:1d8c with SMTP id p7-20020ad452e7000000b004e1bb551d8cmr475998qvu.66.1670986674567;
Tue, 13 Dec 2022 18:57:54 -0800 (PST)
X-Received: by 2002:a05:620a:138c:b0:6ff:9bf1:5428 with SMTP id
k12-20020a05620a138c00b006ff9bf15428mr512579qki.684.1670986674381; Tue, 13
Dec 2022 18:57:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Tue, 13 Dec 2022 18:57:53 -0800 (PST)
In-Reply-To: <585eb1bd-b282-4fb1-b267-2fe89f32833bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.185.98.244; posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 24.185.98.244
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com> <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
<7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com> <0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>
<e3ef3c8a-b060-4601-8ac5-ccc10c3a3d77n@googlegroups.com> <585eb1bd-b282-4fb1-b267-2fe89f32833bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <1e0c45ac-8f60-4de5-866f-f70c18f83f8fn@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Wed, 14 Dec 2022 02:57:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 46
 by: Tom Thumb - Wed, 14 Dec 2022 02:57 UTC

On Friday, December 9, 2022 at 8:39:55 PM UTC-5, stephen...@gmail.com wrote:
> On Friday, December 9, 2022 at 7:01:21 PM UTC-6, justliketom...@gmail.com wrote:
> > I have my original diskettes and copies of ORCA/M and ORCA/C and figured I'd probably reinstall on my IIgs first or maybe make disk images and create a new install with Bernie or KEGS. Finding time to fit that in is a bit problematic but thank you and I'll post what becomes of it when I do.

> ... you can also get a "clean" installation of ORCA/C 2.2.0 B6 by installing ORCA/C 2.1.0 from the original floppy disks, and then applying the ORCA/C 2.2.0 B6 update.
>
> --
> Stephen Heumann

While likely not here nor there, but… after some foibles; the power jack has gone flaky on my PB 3400c running Bernie ][ the Rescue, cracked solder joint most likely; I have a VST Zip drive in the expansion bay and a Zip drive hooked up to my IIgs and transfer files between the two that way then FTP them between the PB and my MacBook Pro to use with KEGS; the installer on the disk image didn’t like a disk image in the set to be mounted until it asked for it; gave an I/O error, I forget exactly its lament..

After working around that and making the installer happy I have a new installation of ORCA/C and ORCA/M updated to version 2.2.0 B6. Then trying to set a breakpoint, same problem, bummer. But, it was the file that didn’t work before. I created a new file and set a breakpoint and, yeah, it works but it looks identical to the one that doesn’t. So i’m going through it with a few files, some old , some new, some work, some don’t and thought I was onto some sequence of saving a file and setting a breakpoint, but…

It all works as it should now with the new install. The old files created with the old installation had some errant entry in the resource fork when a breakpoint was set. I used removerez on an old file that didn’t work and set a breakpoint and recompiled it and it works as expected.

I had looked at both the older and newer files with a different editor and the character displayed for the breakpoint was different betwen the two; ^D for the former I think and an N under a ~ in the latter.

i guess I could have just said I reinstalled and it’s all good now. Thanks for the help and bearing with me.

-- Mark Wade

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<7d1024ed-3445-4208-960a-f23f78677110n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4984&group=comp.sys.apple2#4984

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:a05:622a:6090:b0:3a6:9a4e:e376 with SMTP id hf16-20020a05622a609000b003a69a4ee376mr24222338qtb.415.1671148844367;
Thu, 15 Dec 2022 16:00:44 -0800 (PST)
X-Received: by 2002:a05:622a:388:b0:35b:b6f9:5b38 with SMTP id
j8-20020a05622a038800b0035bb6f95b38mr70060437qtx.242.1671148844101; Thu, 15
Dec 2022 16:00:44 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 15 Dec 2022 16:00:43 -0800 (PST)
In-Reply-To: <1e0c45ac-8f60-4de5-866f-f70c18f83f8fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=73.9.10.173; posting-account=cvqNrwoAAADJiyw_4wkUXsHtt8VSEQSl
NNTP-Posting-Host: 73.9.10.173
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com> <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
<7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com> <0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>
<e3ef3c8a-b060-4601-8ac5-ccc10c3a3d77n@googlegroups.com> <585eb1bd-b282-4fb1-b267-2fe89f32833bn@googlegroups.com>
<1e0c45ac-8f60-4de5-866f-f70c18f83f8fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7d1024ed-3445-4208-960a-f23f78677110n@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: stephenh...@gmail.com (stephen...@gmail.com)
Injection-Date: Fri, 16 Dec 2022 00:00:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3967
 by: stephen...@gmail.com - Fri, 16 Dec 2022 00:00 UTC

On Tuesday, December 13, 2022 at 8:57:55 PM UTC-6, justliketom...@gmail.com wrote:
> After working around that and making the installer happy I have a new installation of ORCA/C and ORCA/M updated to version 2.2.0 B6. Then trying to set a breakpoint, same problem, bummer. But, it was the file that didn’t work before. I created a new file and set a breakpoint and, yeah, it works but it looks identical to the one that doesn’t. So i’m going through it with a few files, some old , some new, some work, some don’t and thought I was onto some sequence of saving a file and setting a breakpoint, but…
>
> It all works as it should now with the new install. The old files created with the old installation had some errant entry in the resource fork when a breakpoint was set. I used removerez on an old file that didn’t work and set a breakpoint and recompiled it and it works as expected.
>
> I had looked at both the older and newer files with a different editor and the character displayed for the breakpoint was different betwen the two; ^D for the former I think and an N under a ~ in the latter.
>
> i guess I could have just said I reinstalled and it’s all good now. Thanks for the help and bearing with me.

I'm glad you got things working now.

In case you're interested, I think I figured out what was going on. ORCA/C 2.1.0 added support for extended characters such as Ñ. The characters used to indicate breakpoints and auto-go points in older versions of ORCA/C conflicted with those, so they were changed at that time, with corresponding changes to Prizm. If ORCA/C 2.1.0 or later encounters the old debugging characters, it will treat them as accented letters beginning an identifier, leading to the error you saw.

This was a change in ORCA/C 2.1.0 back in 1996, but I think at least parts of your old setup must have been older than that, leading to this problem.

Anyhow, you will have to remove any old breakpoints set using the old characters. With some combinations of versions, it might also be possible for the "use old debugging characters" flag to get stored in the resource forks of source files, so you may have to remove the resource forks too.

--
Stephen Heumann

Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger

<e5adf8b6-8b5e-4fd1-8666-4201ddac7fe4n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=4985&group=comp.sys.apple2#4985

  copy link   Newsgroups: comp.sys.apple2
X-Received: by 2002:ac8:5988:0:b0:3a5:9370:ccf4 with SMTP id e8-20020ac85988000000b003a59370ccf4mr77498822qte.376.1671158731827;
Thu, 15 Dec 2022 18:45:31 -0800 (PST)
X-Received: by 2002:a37:8d87:0:b0:6ff:c64a:2746 with SMTP id
p129-20020a378d87000000b006ffc64a2746mr525673qkd.468.1671158731645; Thu, 15
Dec 2022 18:45:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.sys.apple2
Date: Thu, 15 Dec 2022 18:45:31 -0800 (PST)
In-Reply-To: <7d1024ed-3445-4208-960a-f23f78677110n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.185.98.244; posting-account=PB2qngoAAACRVoANRzBDZM-TqC_DJF8g
NNTP-Posting-Host: 24.185.98.244
References: <1afe9c21-44ca-4456-a226-b38a9d1dd2e5n@googlegroups.com>
<e72db376-fea1-4f3f-9da4-c65fc3c7441an@googlegroups.com> <142dcce2-7ee8-425c-81d5-ef3cc1562f45n@googlegroups.com>
<7737abb9-0179-4bb1-82c2-4cadbd0c7d74n@googlegroups.com> <0dcf0b48-c3bb-4720-a809-d42da6e869b7n@googlegroups.com>
<e3ef3c8a-b060-4601-8ac5-ccc10c3a3d77n@googlegroups.com> <585eb1bd-b282-4fb1-b267-2fe89f32833bn@googlegroups.com>
<1e0c45ac-8f60-4de5-866f-f70c18f83f8fn@googlegroups.com> <7d1024ed-3445-4208-960a-f23f78677110n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e5adf8b6-8b5e-4fd1-8666-4201ddac7fe4n@googlegroups.com>
Subject: Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugger
From: justlike...@gmail.com (Tom Thumb)
Injection-Date: Fri, 16 Dec 2022 02:45:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 6084
 by: Tom Thumb - Fri, 16 Dec 2022 02:45 UTC

On Thursday, December 15, 2022 at 7:00:45 PM UTC-5, stephen...@gmail.com wrote:
> On Tuesday, December 13, 2022 at 8:57:55 PM UTC-6, justliketom...@gmail.com wrote:
> > After working around that and making the installer happy I have a new installation of ORCA/C and ORCA/M updated to version 2.2.0 B6. Then trying to set a breakpoint, same problem, bummer. But, it was the file that didn’t work before. I created a new file and set a breakpoint and, yeah, it works but it looks identical to the one that doesn’t. So i’m going through it with a few files, some old , some new, some work, some don’t and thought I was onto some sequence of saving a file and setting a breakpoint, but…
> >
> > It all works as it should now with the new install. The old files created with the old installation had some errant entry in the resource fork when a breakpoint was set. I used removerez on an old file that didn’t work and set a breakpoint and recompiled it and it works as expected.
> >
> > I had looked at both the older and newer files with a different editor and the character displayed for the breakpoint was different betwen the two; ^D for the former I think and an N under a ~ in the latter.
> >
> > i guess I could have just said I reinstalled and it’s all good now. Thanks for the help and bearing with me.
> I'm glad you got things working now.
>
> In case you're interested, I think I figured out what was going on. ORCA/C 2.1.0 added support for extended characters such as Ñ. The characters used to indicate breakpoints and auto-go points in older versions of ORCA/C conflicted with those, so they were changed at that time, with corresponding changes to Prizm. If ORCA/C 2.1.0 or later encounters the old debugging characters, it will treat them as accented letters beginning an identifier, leading to the error you saw.
>
> This was a change in ORCA/C 2.1.0 back in 1996, but I think at least parts of your old setup must have been older than that, leading to this problem..
>
> Anyhow, you will have to remove any old breakpoints set using the old characters. With some combinations of versions, it might also be possible for the "use old debugging characters" flag to get stored in the resource forks of source files, so you may have to remove the resource forks too.
>
> --
> Stephen Heumann

Yeah, it’s weird. I’m sure you’re right that parts of the old setup were mixed from different versions and thank you for explaining it.

If I take one of those files I made with the old setup and then use it with the new setup it will compile and run okay but if I set a breakpoint (and it does show up as a reddish stylized X) it won’t compile and laments “undeclared identifier”. Then if I remove the resourse fork and open it again in Prizm the breakpoint that was set displays as that Ñ character even though I set it with the newly installed Prizm. If I then delete that character and set a new breakpoint it will work as expected and apparently is no longer being saved in the resource fork and is an entirely different character, though I’m not sure what it is and removing the resource fork doesn’t affect the breakpoint, the file still compiles and runs and the breakpoint works as expected. I’m not sure how well I explained that.

After I posted all was working the next day I couldn’t get anything working except that simple example I posted. All I got no matter what I tried was “### Rez - Unable to access program resource fork”. “Man,” I’m thinking, “what did I do?. So I uninstalled and reinstalled ORCA/C again but left out ORCA/M and all was well.

It seems installing ORCA/M after ORCA/C and updating to 2.2.0 B6 hosed somesuch thing. I used the “install new system” option from the ORCA/C 2.1.0 installer and then the “update system” option in the ORCA/M 2.1.0 installer and I thought that was the correct way to go about it.

With everything working with ORCA I manually added the files specific to ORCA/M and it looks like everything is working as expected.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor