Archaeopteryx Software, Inc.
Take Flight!Search

Home
Wing IDE
News
Support
About Us
Python
Open Source
Store

 Search:
 
 Advanced Search




[wingide-users] Ignore Breakpoint

max.zhang max.zhang" <max.zhang at converzal.com
Fri, 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&nbsp;and =
locate the=20
line which exception</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>#!/usr/bin/env python </FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>try:<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
wingdbstub.debugger.StopDebug()<BR>except:<BR>&nbsp;&nbsp;&nbsp; =
&nbsp;import=20
wingdbstub</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>if wingdbstub.debugger !=3D=20
None:&nbsp;<BR>&nbsp;&nbsp;&nbsp; wingdbstub.debugger.StartDebug() =
<BR>print=20
"Content-type: text/html\n"<BR>print=20
"&lt;HTML&gt;\n&lt;Head&gt;\n&lt;Title&gt;",tttr,=20
"&lt;/Title&gt;&lt;/Head&gt;&lt;Body&gt;\n\n" #exception here<BR>print=20
"&lt;BR&gt;MM"<BR>print "&lt;/body&gt;&lt;/html&gt;"</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am out of idea. Someone can help =
me?</FONT></DIV>
<DIV>&nbsp;</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