pdb
How do you watch a variable in pdb
I\'m debugging a python 开发者_JAVA技巧script, and I want to watch a variable for a change (much like you can watch a memory adress in gdb).Is there a way to do this?data breakpoints with pdb[详细]
2023-04-10 19:38 分类:问答PDB won't stop on breakpoint
I\'m quite new with debugging directly with pdb and I am having some issues debugging my Django application. Here is what I\'m doing:[详细]
2023-04-10 11:28 分类:问答Does importing a module (but not using it) decrease performance in Python?
I\'m running a website using Django, and I import ipdb at the beginning of almost all of my scripts to make debugging easier. However, most of the time I never use the functions from the module (only[详细]
2023-04-10 07:23 分类:问答Getting an error that doesn't seem to make much sense.
I keep getting an error that\'s referencing one of开发者_Python百科 my Dictionaries in the code. But I can\'t seem to find anything that would be causing the problem. Something is probably slipping pa[详细]
2023-04-04 04:11 分类:问答How to ensure there are no pdb calls out of debugging configuration?
What do you suggest to get rid of pdb calls on production software? In my case, I\'m developing a django website.[详细]
2023-03-27 23:35 分类:问答Simpler way to put PDB breakpoints in Python code?
Just a convenience question. I\'ve been a bit spoiled with debuggers in IDEs like Visual Studio and XCode. I find it a bit clumsy to have to type import pdb; pdb.set_trace() to set a breakpoint (I\'d[详细]
2023-03-26 21:13 分类:问答How do you debug pythonic GUI programs?
I want to debug a pythonic program, such as calibre. Normally, I was using pdb to debug from the console, but when I use pdb with pythonic GUI programs, the GUI part (canvas or what the heck it is) fr[详细]
2023-03-20 17:46 分类:问答On keystroke insert line of code in (mac)vim, for pdb
I\'m looking for the way to insert a line of code with a keystroke like leaderp in Macvim I want to in开发者_JAVA技巧sert the following line of code:[详细]
2023-03-16 21:57 分类:问答Python pdb command history not working on Windows
I\'m using Windows 7 + Cygwin + Python 2.6 + cmd prompt. Since yesterday, command line history stopped working with pdb. I used the following lines in my python code for interactive debugging.[详细]
2023-03-13 10:23 分类:问答How do you skip over a list comprehension in Python's debugger (pdb)?
In pdb the next instruction does not step over list comprehensions, instead开发者_运维百科 it steps through each iteration. Is there a way to step over them so debugging will continue at the next line[详细]
2023-03-12 14:19 分类:问答