![]() ![]() |
||
![]() |
![]() |
|
![]() |
[wingide-users] Ignore Breakpointmax.zhang max.zhang" <max.zhang at converzal.comFri, 25 Apr 2003 12:37:30 +0800
This is a multi-part message in MIME format.
------=_NextPart_000_0016_01C30B27.70152590
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
I use wingide to remote debug the CGI code. Connection is Ok.
Wingide can load source code and locate the line which exception
occurs, but breakpoint was always ignored. I list soure code.
#!/usr/bin/env python=20
try:
wingdbstub.debugger.StopDebug()
except:
import wingdbstub
if wingdbstub.debugger !=3D None:=20
wingdbstub.debugger.StartDebug()=20
print "Content-type: text/html\n"
print "<HTML>\n<Head>\n<Title>",tttr, "</Title></Head><Body>\n\n" =
#exception here
print "<BR>MM"
print "</body></html>"
I am out of idea. Someone can help me?
Max
------=_NextPart_000_0016_01C30B27.70152590
Content-Type: text/html;
charset="gb2312"
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=3Dgb2312">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I use wingide to remote debug the CGI =
code.=20
Connection is Ok.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Wingide can load source code and =
locate the=20
line which exception</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> occurs, but breakpoint was always =
ignored</FONT><FONT face=3DArial size=3D2>. I list soure =
code.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>#!/usr/bin/env python </FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>try:<BR> =20
wingdbstub.debugger.StopDebug()<BR>except:<BR> =
import=20
wingdbstub</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>if wingdbstub.debugger !=3D=20
None: <BR> wingdbstub.debugger.StartDebug() =
<BR>print=20
"Content-type: text/html\n"<BR>print=20
"<HTML>\n<Head>\n<Title>",tttr,=20
"</Title></Head><Body>\n\n" #exception here<BR>print=20
"<BR>MM"<BR>print "</body></html>"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am out of idea. Someone can help =
me?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Max</FONT></DIV></BODY></HTML>
------=_NextPart_000_0016_01C30B27.70152590--
Run by Mailman v 2.0.8 |
|
|
Copyright (c) 2000-2002, Archaeopteryx Software, Inc. Legal Statements | ||