[mapserver-users] Debugging a CGI in MSVC

Pradeep pradeepkumar@infotech.stph.net
Tue, 19 Nov 2002 10:02:48 +0530


This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C28FB2.D072CB90
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Greetings
        I have the mapserver sources running on windows, compiled using the
MSVC compiler,I wish to debug it, and follow the code flow setting some
break points in the code, as far as now I was unsuccessful trying to debug
the CGI exe, I have used __asm {int 3}; statement to programatically set
break points in the code, but still the VC debugger fails to launch. In
essense can any user working in windows environment tell me How to debug a
CGI application?

Thanks for your time
Pradeep.


------=_NextPart_000_0007_01C28FB2.D072CB90
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY style=3D"COLOR: #000000; FONT-FAMILY: Arial">
<DIV><SPAN class=3D080452704-19112002><FONT =
size=3D2>Greetings</FONT></SPAN></DIV>
<DIV><SPAN =
class=3D080452704-19112002>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
<FONT size=3D2>I have the mapserver sources running on windows, compiled =
using the=20
MSVC compiler,I wish to debug it, and follow the code flow setting some =
break=20
points in the code, as far as now I was unsuccessful trying to debug the =
CGI=20
exe, I have used __asm {int 3}; statement to programatically set break =
points in=20
the code, but still the VC debugger fails to launch. In essense can any =
user=20
working in windows environment tell me How to debug a CGI=20
application?</FONT></SPAN></DIV>
<DIV><SPAN class=3D080452704-19112002><FONT =
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D080452704-19112002><FONT size=3D2>Thanks for your=20
time</FONT></SPAN></DIV>
<DIV><SPAN class=3D080452704-19112002><FONT =
size=3D2>Pradeep.</FONT></SPAN></DIV>
<DIV><SPAN class=3D080452704-19112002></SPAN>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0007_01C28FB2.D072CB90--