• 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
Debug hangs...program runs fine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debug hangs...program runs fine


  • Subject: Debug hangs...program runs fine
  • From: Michael <email@hidden>
  • Date: Sun, 18 Jun 2006 16:55:11 -0700

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


  • Follow-Ups:
    • Re: Debug hangs...program runs fine
      • From: Prachi Gauriar <email@hidden>
  • Prev by Date: define GCC_PREFIX_FILE setting at project level?
  • Next by Date: Building a Palette: Custom Palette (customized NSView) refuses to remain in a target app NSWindow
  • Previous by thread: Re: Project Assistant renames home folder without authorisation Re: define GCC_PREFIX_FILE setting at project level?
  • Next by thread: Re: Debug hangs...program runs fine
  • Index(es):
    • Date
    • Thread