• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debug hangs...program runs fine...resolved...not sure why though
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug hangs...program runs fine...resolved...not sure why though


  • Subject: Re: Debug hangs...program runs fine...resolved...not sure why though
  • From: Michael <email@hidden>
  • Date: Sun, 18 Jun 2006 21:17:34 -0700

Copied all the code into a new project in order to make a stripped down version of the code. A stripped down version debugged without hanging. Then just as a trial, copied the exact code from the non- working original project into the new project. It worked! So, then copied the working, but complete code back into the original project. So, same working code back into original project. Once again, it hangs during debugging.


So, not sure what is going on?



Original post below.
************

I am learning C...I know...please do not give me a hard time.  :-)

When I debug my program, it hangs on this line:


>> if (!isdigit(c) && c != '.' ) /** not a number **/

 return c;
<<

yet when I run the app, there is no problem. (The code gets a character from the standard input)

(I have typed in the same input for both running app and decoding)

Can anyone suggest a reason why this is happening.





Using X-code 2.3 on Tiger  10.4.6

*****************








_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Debug hangs...program runs fine (From: Michael <email@hidden>)
 >Re: Debug hangs...program runs fine (From: Prachi Gauriar <email@hidden>)

  • Prev by Date: Re: define GCC_PREFIX_FILE setting at project level?
  • Next by Date: Automated or simpler cross/platform project format management
  • Previous by thread: Re: Debug hangs...program runs fine
  • Next by thread: Building a Palette: Custom Palette (customized NSView) refuses to remain in a target app NSWindow
  • Index(es):
    • Date
    • Thread