Oops, one for the list as well.

-------- Original Message --------
Subject: Re: [Zope-dev] Problems adding many objects
Date: Mon, 26 Sep 2005 13:34:50 +0200
From: Morten W. Petersen <[EMAIL PROTECTED]>
To: Chris McDonough <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>

> It doesn't say "returning issue, None"?  My guess is that the if 
> request is not none branch is called and it goes that way.  But  there's
> no way to know for sure without running it.

It says 'returning issue <issue at xxxxx>'

> This is a good place to use the Python debugger...  as the first line 
> of this method, insert "import pdb; pdb.set_trace()", then start up 
> Zope in the foreground (runzope or zopectl fg), then cause the method 
> to be invoked through a browser.
> 
> On the console you will see a pdb prompt.  You can step through the 
> code by using "n".  To print the value of a variable type "p 
> <variablename>", to step in to a function call press "s".  When  you're
> finished, press "c" to continue or "q" to quit.  This will be  the
> fastest way to see what's happening in this method.

Yep, I'll have a go at this later.  Thanks for describing the debug
process.  :)

-Morten


-- 
Regards,

Morten

Tlf:  +47 45 44 00 69
Blog: http://www.blogologue.com
begin:vcard
fn:Morten Petersen
n:Petersen;Morten
org:Nidelven IT
adr:;;Postboks 923;Trondheim;;7409;Norway
email;internet:[EMAIL PROTECTED]
title:Project Manager
tel;work:+47 45 44 00 69
tel;cell:+47 45 44 00 69
x-mozilla-html:FALSE
url:http://www.nidelven-it.no
version:2.1
end:vcard

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to