Re: [Zim-wiki] Debugging Zim, especially plugins/PyCharm IDE

2015-05-22 Thread Güven , Ugur Murat
Hi Udo, while playing around with Visual Studio Community Edition with Python Tools I found out how you can debug your code by using the debugger. You need to set some break points, then run your program as python script (so for Zim it does not work if you use the Windows version, you need to r

Re: [Zim-wiki] Debugging Zim, especially plugins/PyCharm IDE

2015-02-19 Thread Güven , Ugur Murat
Hi, you need to install Python 2 for Windows https://www.python.org/downloads/release/python-279/ I installed into c:\tools\python\python27 and Pygtk for Windows: http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.22/pygtk-all-in-one-2.22.6.win32-py2.7.msi I installed into c:\tools\gtk You

Re: [Zim-wiki] Debugging Zim, especially plugins/PyCharm IDE

2015-02-18 Thread Jaap Karssenberg
Hi Udo, My debugging strategy is just putting in a lot of "print" statements and then take them out before committing.May be old fashioned, but it kind of works for me. More systematic debugging I do by writing test coverage for functions. If errors are reported having a test case in the suite th

Re: [Zim-wiki] Debugging Zim, especially plugins/PyCharm IDE

2015-02-18 Thread Güven , Ugur Murat
Hi Udo, > I'm looking for infos how the source code/plugins can be debugged you can debug your code by starting zim with this parameter: cd c:\tools\ZimWiki\ python zim.py -D I'm using PyCharm, too. Regards, Murat ___ Mailing list: https://launchpa