• 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: Debugging a CGI with XCode, is it possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging a CGI with XCode, is it possible?


  • Subject: Re: Debugging a CGI with XCode, is it possible?
  • From: "D. Walsh" <email@hidden>
  • Date: Sat, 28 Jan 2006 07:23:15 -0500
  • Mta-interface: amavisd-new-2.2.1 (2004-12-22) + Maia Mailguard 1.1.0 at daleenterprise.com


On Jan 28, 2006, at 07:07 , Robert Dell wrote:

out of curiosity, this was something i was considering... writing a real program and putting it in the spot for a web based cgi so when somebody asked for cgi-bin whatever it would run that instead of a perl script.

what would be needed to acomplish this? anybody got any code for just a cgi app to print hello to the user's web page? i can work out the rest myself.

It's a little more complicated than that.

Give me a day, I'll dig something up that you can use.


Daniel Jalkut wrote:

Eyal - assuming I undestand your problem, you have to do something to cause a delay so you have an opportunity to "attach" with gdb. Once you're attached, it's much like debugging any application. Just make sure the CGI that gets launched is built with debugging symbols, and has an artificial delay at the beginning so you have a chance to "grab it" before it starts doing good stuff.
Daniel
On Jan 27, 2006, at 8:45 AM, Eyal Redler wrote:
Hi All,

Is it possible to debug a CGI using XCode?
My debugging experience is limited to applications and such, how do I make a process which is launched by a third application stop at a breakpoint?


Thanks

Eyal

-- Dale

_______________________________________________
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: 
 >Debugging a CGI with XCode, is it possible? (From: Eyal Redler <email@hidden>)
 >Re: Debugging a CGI with XCode, is it possible? (From: Daniel Jalkut <email@hidden>)
 >Re: Debugging a CGI with XCode, is it possible? (From: Robert Dell <email@hidden>)

  • Prev by Date: Re: Debugging a CGI with XCode, is it possible?
  • Next by Date: Re: Debugging a CGI with XCode, is it possible?
  • Previous by thread: Re: Debugging a CGI with XCode, is it possible?
  • Next by thread: Re: Debugging a CGI with XCode, is it possible?
  • Index(es):
    • Date
    • Thread