05.10.2011 16:18, Dünnebeil Gerhard kirjoitti:

Hello everybody.

 

I have Jython running embedded in a larger java application.

 

Having problems with the jython scripts that I can’t reproduce outside my environment I had good use for a way to debug the scripts in-place.

 

Can anybody give me a hint how this can be done or where I can find an article about that?

from pdb import set_trace; set_trace()

Insert this in your code and execution drops to the debugger at that point.

 

Google was not very helpful.

 

Thanks

G. Dünnebeil

__________________________________________________

Gerhard Dünnebeil
Safety & Security Department
SIM


Bitte beachten Sie un
seren neuen Firmennamen und neue Kontaktdaten!

Please note our new company name and contact details!
AIT Austrian Institute of Technology GmbH
2444 Seibersdorf | Austria
T +43(0) 50550-3173|  F +43(0) 50550-2813

Gerhard.Duennebeil@ait.ac.at  |  http://www.ait.ac.at

FN: 115980 i HG Wien  |  UID: ATU14703506
This email and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient, please notify the sender by return e-mail or by telephone and delete this message from your system and any printout thereof. Any unauthorized use, reproduction, or dissemination of this message is strictly prohibited. Please note that e-mails are susceptible to change. AIT Austrian Institute of Technology GmbH shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt.

 



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1


_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users