Skip to content Skip to sidebar Skip to footer
Showing posts with the label Debugging

How To Debug/log Wsgi Python App?

I tried this: #!/usr/bin/python from wsgiref.simple_server import make_server from cgi import … Read more How To Debug/log Wsgi Python App?

Is There A Free Python Debugger That Has Watchpoints?

pdb and winpdb both seem to be missing this essential (to me) feature. I saw something suggesting … Read more Is There A Free Python Debugger That Has Watchpoints?

Qt: Hide Qml Debugging Warning

QML debugging is enabled. Only use this in a safe environment. I'm actually working on a test s… Read more Qt: Hide Qml Debugging Warning

Questions About Compiling Python In Debug Mode

I am using Ubuntu 12.04, Python 2.7.3. I am having a segmentation fault in a C extension I have co-… Read more Questions About Compiling Python In Debug Mode

Disable Python Basic Optimization (-o)

On a given embedded Linux machine I have a Python 3.3 distribution installed which seems to have th… Read more Disable Python Basic Optimization (-o)

Is There A Mode Of Python That Traces Each Line Executed, Similar To 'bash -x'?

I am running a python script in crontab that works fine from the command line but appears to not be… Read more Is There A Mode Of Python That Traces Each Line Executed, Similar To 'bash -x'?

Python Spyder Debug Freezes With Circular Importing

I have a problem with the debugger when some modules in my code call each other. Practical example:… Read more Python Spyder Debug Freezes With Circular Importing

Python Logging And Pydev Debugger?

Edit : Using Liclipse 1.2.1 instead of 1.3.0 or 1.4.0 is working fine. Changelog indicate both Pyde… Read more Python Logging And Pydev Debugger?

Pycharm Pyqt4 / Pyqt5 Collision In Debug Mode

I am trying to use PyQt4 in pycharm. My code works perfectly in run mode, but in debug mode, when I… Read more Pycharm Pyqt4 / Pyqt5 Collision In Debug Mode

Sqlite Python Sqlite3.operationalerror: Database Is Locked

I have written the following code, which is showing the sqlite3.OperationalError: database is locke… Read more Sqlite Python Sqlite3.operationalerror: Database Is Locked

How To Debug Cython In An Ide

I am trying to debug Cython code that wraps a c++ class, and the error I am hunting is somewhere in… Read more How To Debug Cython In An Ide

Python: Printing The Result Of A Function Returns "none"

I have some python code, the translate_string method returns the correct value nevmban but then aft… Read more Python: Printing The Result Of A Function Returns "none"

Changing Python Code In The Debugger

Is there any debugger that allows Python code to be changed while debugging? In other words: run-ti… Read more Changing Python Code In The Debugger

Python Variable Is Evaluated Differently In Pdb And Print Statements

I am using threads in a python program and recently found a problem where a float is not being inte… Read more Python Variable Is Evaluated Differently In Pdb And Print Statements

Vs Code Python Timeout Waiting For Debugger Connection

Yesterday, before Visual Studio Code updated itself (from 1.27.2 to 1.28.2), I could open it from a… Read more Vs Code Python Timeout Waiting For Debugger Connection

Printing Names Of Variables Passed To A Function

In some circumstances, I want to print debug-style output like this: # module test.py def f() a =… Read more Printing Names Of Variables Passed To A Function

Python Copy.deepcopy() Fails Without Raising Warning, Exception Or Error

This question is related to another question I posted yesterday, although it is much more general i… Read more Python Copy.deepcopy() Fails Without Raising Warning, Exception Or Error

PyCharm: Attach Console To Debugger

In PyCharm, it is possible to attach a debugger to an interactive console session run in PyCharm. I… Read more PyCharm: Attach Console To Debugger

Printing Names Of Variables Passed To A Function

In some circumstances, I want to print debug-style output like this: # module test.py def f() a =… Read more Printing Names Of Variables Passed To A Function

BdbQuit Raised When Debugging Python With Pdb

Recently when adding the pdb debugger to my Python 2.7.10 code, I get this message: Traceback (most… Read more BdbQuit Raised When Debugging Python With Pdb