Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.151 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.72; '*S*': 0.02; 'debugging': 0.07; 'ex:': 0.09; 'python': 0.11; 'def': 0.12; 'printing.': 0.16; 'variable': 0.18; 'example': 0.22; 'print': 0.22; 'values': 0.27; 'mode': 0.30; 'statement': 0.30; 'code': 0.31; 'option)': 0.31; 'values.': 0.31; 'option': 0.32; 'there': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'header:Reply-To:1': 0.67; 'from:addr:yahoo.co.in': 0.68; 'received:106': 0.68; 'received:106.10': 0.68; 'received:106.10.166': 0.68; 'received:bullet.mail.sg3.yahoo.com': 0.68; 'received:mail.sg3.yahoo.com': 0.68; 'received:sg3.yahoo.com': 0.68; 'received:106.10.151': 0.84; 'received:106.10.166.127': 0.84 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 959451.61920.bm@omp1003.mail.sg3.yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.in; s=s1024; t=1376475131; bh=r7azeztZupGCwUnr071UOgdrEJ2Pqi3isT4OeMsAG/A=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=TddeyAyYiudOe6FZXJGTuaa9HJFWXqNeJuYazQ2KBBNGgYdSPTugugpvSWEuugQNGNhNqAwYufE/lwwdF7okJ4hlDGi3vQQRtxGbYU5XPwfCthRERaCSGZ/pces0uTv/76QvJ2Zv4ABKnS/d9AGB7aEEh2Q3lIc+vfoRA8fEq/8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=BBs39deWgwJOYJB1L5/8ooYWUQiudVj3RVldL8kCkVpDM4kwfsjA7/V8rI6DyqB2yJltvFKRasZrmLjLeRpgWTlFf34U81P/GPh0y0wHEa0Holt3AHtGByKSAR5g4ghwnWOP9SEY4D06Ew+dalUGRGCaP7AnbavfAFsAH6lyDbU=; X-YMail-OSG: WVOoDrsVM1m3doxNjzbrf7_G_L6ZkX9jw0fCL2.i5wGakvQ YWMIWWhuQq2e8VDh4nxJxlWEzAlctMh1iT88Ecn3IlU6j6cCpXZZIu6ggF5I llxrqKnu5ZhPX0Jr80u__Z9_Uraiies1Szox.ESW6w.ik0J7xeewRNXFwdNh JIXe55amUDvqhjrcXtCCN4FTky7VzwpImzOdxutO6mqyyr5XDYcyXnSFAI4q SsALMSJVNUrdDuejMTt_9mBVIe__NE8DsIsjcwS6LvkGG1JGmEZ4uIkVA9Dz YSSIH1ghQHjW8ojNCzg20WN2trROlu9k4EvbQnxtErE_fSdmUAMI2ueeFE4y jcxVjh6OfQL.d2D4cEGM0qa4f.gxmLaAxaJHiLPVvJu7uM_U5pAuvO1pEYxd 4ebREByUrOvR.h8_w5kRZTVwt7Y8qpdBW8zY5pBIpK873R7aLz6VoJC.xhbo 6ciXhkT1_YxQK_0hrAoaYpcL_pUGopeyb3DRjaOfcib9y3ivLNGb1zgZvKQ9 1BmugpVPZseMvgPpZBqXIqBEVr5dmfi52XcdJRHKgCasXpBybqA-- X-Rocket-MIMEInfo: 002.001, SGkgLAoKSXMgdGhlcmUgYSB3YXkgdG8gdmFsaWRhdGUgdmFyaWFibGUgdmFsdWVzIHdoaWxlIGRlYnVnZ2luZyBhbnkgcHl0aG9uIGNvZGUuUnVuIGJlbG93IGV4YW1wbGUgwqBpbiBkZWJ1Z2dpbmcgbW9kZSBhbmQgaSB3b3VsZCBsaWtlIHRvIGtub3cgdGhlIHZhbHVlIG9mIGMgKEkga25vdyBwcmludCBpcyBhbiBvcHRpb24pIHdpdGggYW55IG90aGVyIG9wdGlvbiBvdGhlciB0aGFuIHByaW50aW5nLgpJbiBDIyBvciBzb21lIG90aGVyIHRvb2xzIHdlIGNhbiB2ZXJpZnkgZWFjaCBzdGF0ZW1lbnQgYW5kIHYBMAEBAQE- X-Mailer: YahooMailWebService/0.8.154.571 Date: Wed, 14 Aug 2013 18:12:11 +0800 (SGT) From: chandan kumar Subject: Verifying Variable value To: Python MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-775216457-919044778-1376475131=:60391" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: chandan kumar List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1376475265 news.xs4all.nl 15992 [2001:888:2000:d::a6]:37360 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52504 ---775216457-919044778-1376475131=:60391 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi ,=0A=0AIs there a way to validate variable values while debugging any py= thon code.Run below example =A0in debugging mode and i would like to know t= he value of c (I know print is an option) with any other option other than = printing.=0AIn C# or some other tools we can verify each statement and valu= es.=A0Is there way to check each statement in python code like in c#.=0A=0A= Ex:=0Adef method()=0A=A0 a =3D 20=0A=A0 b =3D30=0A=A0 c =3D =A0a + b=0A=0A= =0ABest Regards,=0AChanadn ---775216457-919044778-1376475131=:60391 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi ,
<= br>
Is there a way to validate variable values while debug= ging 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 opti= on other than printing.
In C# or some other tools we can v= erify each statement and values. Is there way to check each statement in python code like in c#.

Ex:
def metho= d()
  a =3D 20
  b =3D30
<= div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new = roman', 'new york', times, serif; background-color: transparent; font-style= : normal;">  c =3D  a + b

<= br>
Best Regards,
Chanadn
---775216457-919044778-1376475131=:60391--