thanks for answering ...<br><br><br>Well I was doing exactly what you say Stephen... In reference (3)to  debug mapserv..<br><br>But I have  the same problem,when I am debugging mapserv step by step ..  GDB show me <u>&quot;parsing errors&quot;,</u> but when I am debugging mapserv without breakpoints, <u>GDB show me &quot;program exited normally&quot;..</u><br>
<br>MMmm it is too rare..<br><br><br>For example when  I tried to check(step by step) the behavior of loadlayer()  or loadmapinternal() in mapfile.c... GDB show me &quot;parsing errors&quot;..And only I wanted to see some internal values of (map-&gt;layer,map-&gt;extent,layer-&gt;data,layer&gt;connection,layer-&gt;name,etc...)<br>
<br><br>Could you show me  how can you check to behaviour of loadlayer()?. or what do you recommend me, please?<br><br><br>thanks<br><br>Gustav Allen<br><br><br><br><br><br><div class="gmail_quote">2009/7/13 Stephen Woodbridge <span dir="ltr">&lt;<a href="mailto:woodbri@swoodbridge.com">woodbri@swoodbridge.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Gustav Allen wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello community<br>
<br>
<br>
I have experience installing and using MapServer on Windows and Linux plataform. But now I&#39;m interested in contributing as a developer MapServer. I am interested to know: if you have technical manual (development manual, tutorial or whatever)   or   how do you develop?. I read the info in the website <a href="http://mapserver.org" target="_blank">mapserver.org</a> &lt;<a href="http://mapserver.org" target="_blank">http://mapserver.org</a>&gt; (development section), but it is insufficient =(<div class="im">
<br>
<br>
Until now, I know that I need GDB + frontend (ex. Emacs,KDbg,DDD,Nemiver) for debugging mapserv executable on Linux.. I tried to debug it,but  I couldn&#39;t ( note: I have installed all the required libraries )..<br>
<br>
Always GDB detects &quot; parsing errors in my mapfile&quot;.. But I think it is impossible because my mapfiles are fine.. My web applications work with the mapfiles. The same situation occurs with test files : /mapserver-5.4.1/tests/test.map ...  Really is very frustrating. please...somebody can tell me some steps to develop on mapserver.... because I haven&#39;t found clear info<br>

</div></blockquote>
<br>
Gustav,<br>
<br>
A few ideas to get you started:<br>
<br>
1) if you plan to debug mapserv make sure you ./configure --with-debug<br>
2) you might start debuging using shp2img<br>
   a) start by getting shp2img to run with some command line options<br>
   b) gdb shp2img<br>
      break main<br>
      run &lt;commandline options&gt;<br>
3) to debug mapserv you can use<br>
   a) gdb mapserv<br>
      break main<br>
      run QUERY_STRING=&#39;url-params-after?&#39;<br>
<br>
Try some of these and see if you get any further.<br>
<br>
-Steve W<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
Thanks a lot<br>
  Gustav Allen<br>
<br>
<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-dev mailing list<br>
<a href="mailto:mapserver-dev@lists.osgeo.org" target="_blank">mapserver-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-dev</a><br>
</blockquote>
<br>
</blockquote></div><br>