Help debugging a script that is using ZODB.
[email protected] Sat, 9 May 2020 08:57:34 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_977_551055045.1589039854963 Content-Type: multipart/alternative; boundary="----=_Part_978_713835449.1589039854963" ------=_Part_978_713835449.1589039854963 Content-Type: text/plain; charset="UTF-8" I am trying to debug a script that is using ZODB. It is hard to tell if some of the methods are functioning correctly because the information the debugger displays does not tell me worthwhile information. Information such as "<__main__.Coord object at 0x00000000147FA908 oid 0x1185 in <Connection at 03c395c0>>" is displayed in the debugger, but it doesn't tell me information that is useful while debugging. I would like to know the safe way of changing what is displayed for a persistent object. I already tried adding a "__str__" method, but that did not change the display. I am using python 3.7 with ZODB 5.5.1. -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/zodb/f7a3ee7e-2a51-4771-9b5d-41603fc2af28%40googlegroups.com. ------=_Part_978_713835449.1589039854963 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I am trying to debug a script that is using ZODB. It is ha= rd to tell if some of the methods are functioning correctly because the inf= ormation the debugger displays does not tell me worthwhile information. Inf= ormation such as "<__main__.Coord object at 0x00000000147FA908 oid = 0x1185 in <Connection at 03c395c0>>" is displayed in the debu= gger, but it doesn't tell me information that is useful while debugging= . I would like to know the safe way of changing what is displayed for a per= sistent object. I already tried adding a "__str__" method, but th= at did not change the display. I am using python 3.7 with ZODB 5.5.1.</div> <p></p> -- <br /> You received this message because you are subscribed to the Google Groups &= quot;zodb" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">zodb+unsubscri= [email protected]</a>.<br /> To view this discussion on the web visit <a href=3D"https://groups.google.c= om/d/msgid/zodb/f7a3ee7e-2a51-4771-9b5d-41603fc2af28%40googlegroups.com?utm= _medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/zodb= /f7a3ee7e-2a51-4771-9b5d-41603fc2af28%40googlegroups.com</a>.<br /> ------=_Part_978_713835449.1589039854963-- ------=_Part_977_551055045.1589039854963--