[postgis-users] Help please
    Zamil Murji 
    Zamil.Murji at divestco.com
       
    Tue Aug 12 16:33:31 PDT 2003
    
    
  
I will give this a shot tomorrow. I added some more print statements and I'm now down to 4 records. Very weird. Hopefully i'll be able to make sense of it all.
zamil
-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Tuesday, August 12, 2003 5:30 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Help please
Zamil Murji wrote:
> Valgrind heh? I'll give that a shot. How do i "run my request" through it? Can i pass it a url. Everything to date as been printed to stderr which happens to be the apache error log for me. 
> 
You can run MapServer at the command line by passing your query string 
as an argument:
   ./mapserv "QUERY_STRING=map=/path/to/mapfile&mode=...."
(note the quotes are important)
and you can run the same in Valgrind using:
   valgrind ./mapserv "QUERY_STRING=map=/path/to/mapfile&mode=...."
See the Valgrind docs, if you have a debug build, you can get it to 
launch gdb when it encounters an error, you can have it report leaks, etc...
Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
    
    
More information about the postgis-users
mailing list