cURL / Mailing Lists / curl-library / Single Mail

curl-library

AW: Debugging libcurl

From: <cliffer_at_q1lan.de>
Date: Fri, 25 Jan 2008 15:55:31 +0100

The sources are compiled with my program every time i build it, but i'm
still unable to inspect the handles by watching it, same error: "Attempt to
dereference a generic pointer". Where is my fault?

Olly

-----Ursprüngliche Nachricht-----
Von: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] Im Auftrag von Michal Marek
Gesendet: Freitag, 11. Januar 2008 12:15
An: libcurl development
Betreff: Re: Debugging libcurl

cliffer_at_q1lan.de wrote:
> I'm using sample Code from the Website and I'm trying to debug that code.
If
> I try to dereference and watch a variable called "http_handle" (typ:
CURL),
> I get this error: "Attempt to dereference a generic pointer."

The actual struct isn't exposed by the API, it's indeed typedefed to
void in the headers. You need curl sources to inspect the handle.

Michal
Received on 2008-01-25