India

ZestyBeanz Technologies Pvt Ltd 4th Floor, Nila, Technopark Thiruvananthapuram,
India – 695581
Phone: +91 471 4063254
Fax : +91 471 2700171

   .

ZestyBeanz Technologies Pvt Ltd
61/3236, Manikkath Cross Road
Ravipuram, Kochi, India - 682016
Phone: +91 484 4063254

  UAE

Zesty Labs
Office # 2003, Millennium Plaza Building
Sheikh Zayed Rd, Dubai, UAE
Phone: +971 4333 2222​
Mobile: +971-52-7553466

  Germany​

ZestyBeanz Technologies GmbH
Reuterstraße 1
90408 Nürnberg
Fon: +49 911 4801 444
Fax: +49 911 4801 445

Contact Form


Dale E. Moore's picture

This is a lovely post and

This is a lovely post and very helpful; thanks!

But, I'm a little confused. Why would the Eclipse run catch a breakpoint from my LIVE code?

I have the OpenERP source setup under workspace as Eclipse likes for DEVelopment and I have another instance of OpenERP installed in the normal /usr/lib/pymodules/python2.7/openerp LIVE location. I turn off my LIVE instance with "service openerp stop" then run the DEV instance via Eclipse. Everything seems to be working fine until I encounter some code that does not exist in the Eclipse instance and catch a pdb.set_trace() breakpoint I'd set in my LIVE code.

> /usr/lib/pymodules/python2.7/openerp/addons/insurance_report/report/bill_report.py(52)invoice_rows()
-> res['quantity'] = self.formatLang(entry.quantity, digits=self.get_digits(dp='Account'))
(Pdb) l

How did the LIVE code get executed by the Eclipse DEV instance?
[email protected]

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo], [[foo]]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.