cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl::easy and cookies over proxy

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Mar 2002 12:40:48 +0100 (MET)

On Tue, 19 Mar 2002, Björn Stenberg wrote:

> How do I debug this?

Ok, first wear a hard hat. Then fire up gdb on your perl executable and
proceed as following (these suggestions are from a previous mail posted by
Bjorn Reese off the top of his head. If there's any factual errors I am the
one to blame for forwarding this without checking more first):

  $ gdb /usr/bin/perl
  (gdb) set env LD_BIND_NOW 1
  (gdb) tbreak main
  (gdb) commands 1
> break Curl_cookie_add
> break Curl_cookie_output
> continue
> end
  (gdb) run

(I would appreciate all corrections and improvements of this snippet, as
people have request this kind of help before.)

I hope I'm not too wrong here.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-19