<div dir="ltr">As for a debugger, you have direct access to root in the `root` veriable there. You will not have such a simple thing while processing requests. <br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="font-family:arial,sans-serif;font-size:13px">Welcome to the interactive debug prompt.<br></span><span style="font-family:arial,sans-serif;font-size:13px"><b>The 'root' variable contains the ZODB root folder</b>.<br>
</span><span style="font-family:arial,sans-serif;font-size:13px">The 'app' variable contains the Debugger, 'app.publish(path)' simulates<br></span><span style="font-family:arial,sans-serif;font-size:13px">a request.</span></blockquote>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/18 Tamer Higazi <span dir="ltr"><<a href="mailto:th982a@googlemail.com" target="_blank">th982a@googlemail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Didn't seem to help very much.....<br>
<br>
<br>
<br>
2013-11-18T11:12:32 INFO zope.generations main db: evolving in mode<br>
EVOLVEMINIMUM<br>
Welcome to the interactive debug prompt.<br>
The 'root' variable contains the ZODB root folder.<br>
The 'app' variable contains the Debugger, 'app.publish(path)' simulates<br>
a request.<br>
>>> from zope.site import hooks<br>
>>> site = hooks.getSite()<br>
>>> print site<br>
None<br>
>>><br>
<br>
<br>
<br>
On 11/18/13 10:05, FLORAC, Thierry wrote:<br>
> Hi,<br>
><br>
> Did you tried:<br>
><br>
>   >>> from zope.site import hooks<br>
>   >>> site = hooks.getSite()<br>
><br>
> Regards,<br>
> Thierry<br>
<br>
_______________________________________________<br>
bluebream mailing list<br>
<a href="mailto:bluebream@zope.org">bluebream@zope.org</a><br>
<a href="https://mail.zope.org/mailman/listinfo/bluebream" target="_blank">https://mail.zope.org/mailman/listinfo/bluebream</a><br>
</blockquote></div><br></div>