Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52524 > unrolled thread

RE: Verifying Variable value

Started by"Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid>
First post2013-08-14 16:36 +0000
Last post2013-08-14 16:36 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  RE: Verifying Variable value "Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid> - 2013-08-14 16:36 +0000

#52524 — RE: Verifying Variable value

From"Prasad, Ramit" <ramit.prasad@jpmorgan.com.dmarc.invalid>
Date2013-08-14 16:36 +0000
SubjectRE: Verifying Variable value
Message-ID<mailman.579.1376498218.1251.python-list@python.org>
chandan kumar wrote:

> Hi ,
> 
> Is there a way to validate variable values while debugging any python code.Run below example  in
> debugging mode and i would like to know the value of c (I know print is an option) with any other
> option other than printing.
> In C# or some other tools we can verify each statement and values. Is there way to check each
> statement in python code like in c#.
> 
> Ex:
> def method()
>   a = 20
>   b =30
>   c =  a + b
> 
> 
> Best Regards,
> Chanadn

In addition to pdb, I would imagine most Python IDEs would support debugging in this manner.

pydev: http://pydev.org/manual_adv_debugger.html
Wing: http://wingware.com/wingide/debugger
Pycharm: http://www.jetbrains.com/pycharm/webhelp/running-and-debugging.html

This actually has a nice table of some IDEs for Python. See which ones
have a 'Y' under the PD column.
http://stackoverflow.com/questions/81584/what-ide-to-use-for-python


~Ramit



This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.  

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web