home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.sys.apple2      Discussion about Apple II micros      56,720 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,957 of 56,720   
   Tom Thumb to Tom Thumb   
   Re: ORCA/C v2.10 v2.2.0 B6 Prizm debugge   
   09 Dec 22 05:40:32   
   
   From: justliketomsthumbsblues@gmail.com   
      
   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    
      
   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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca