0
votes
1answer
14 views

PyDev and settrace breaking silently

I'm trying to debug a Python subprocess (launched with multiprocess). I've created a simpler project with only the following code, launched the remote debugger, and then launched the project. I expect ...
0
votes
1answer
14 views

How do I debug my web.py project in Eclipse?

I have my web.py project open in Eclipse, but how can I: 1) Start my project from within Eclipse (and not the console)? 2) Debug my project from within Eclipse (breakpoints, etc..)? There's no ...
0
votes
0answers
6 views

Windpb debugger: Can't launch it

It installs successfully but I can't launch it. It throws this error C:\Python27\Scripts>winpdb Traceback (most recent call last): File "<string>", line 1, in <module> File ...
0
votes
2answers
57 views

Debugging a Python script that randomly hangs and uses 100% of a processor core

I'm currently working on a fairly complex multithreaded Python script. There is one main function that is run in about 5 threads at a time. I've been having some issues with it hanging and using 100% ...
1
vote
1answer
17 views

Why won't python webassets pyscss regenerate css from scss files in debug mode?

I'm using the pyscss compiler in the python webassets library with webassets debug configs all set to true. But when I make changes to an scss file and reload the page that includes the generated css ...
3
votes
1answer
36 views

Is there something like Django debug page or DjDT in Java?

When I get an error while working with JSP/servlets it is shown a page like this: Despite being sufficient to track the majority of the problems, I was wondering if there is some components that ...
3
votes
7answers
74 views

Find if the array contain a 2 next to a 2

I am stuck on this problem Given an array of ints, return True if the array contains a 2 next to a 2 somewhere. has22([1, 2, 2]) → True has22([1, 2, 1, 2]) → False has22([2, 1, 2]) → False I ...
1
vote
2answers
43 views

Check if a particular string appears in another string

I am practicing my python coding on this website. This is the problem Return True if the given string contains an appearance of "xyz" where the xyz is not directly preceeded by a period (.). So ...
0
votes
1answer
62 views

Check how many times a string appears in a particular word

I am practicing my python coding on this website. This is the problem Return True if the string "cat" and "dog" appear the same number of times in the given string. cat_dog('catdog') → True ...
-1
votes
1answer
54 views

Python debugging. help a noob :( [closed]

I have started to learn python and I need some help. anything will help I use: komodo edit <- write the python terminal (my editor) <- bug testing def score(): question_1 = "null" #var ...
0
votes
1answer
27 views

PyDev program output in debug console

Please bear with me if this is very basic, as I'm quite new to PyDev. Is there some way to redirect the program output to a PyDev debug console? I'm referring to something like in Matlab. As of now, I ...
0
votes
1answer
28 views

Temporarily entering the debugger in IPython

In IPython, with %pdb enabled, I can hit Ctrl-C and be dropped to a Python debugger console at the exact point I stopped the program. However, at this point the program is entirely stopped, and I ...
0
votes
1answer
30 views

Python implementing rod cutting algorithm

Im practicing for dynamic programming and im new to python as well. When I try this in the shell. def cut_rod(p, n): if n==0: return 0 q = float('-inf') for i in range(n): ...
2
votes
1answer
65 views

Django: manage.py does not print stack trace for errors

In Django, most of the time when I run manage.py and it encounters an error, I don't get the full stack trace for the error, just the text of the exception, making it very hard to debug. Example: ...
2
votes
2answers
68 views

How do I fix my Python sudoku solver bug? [closed]

THIS IS FROM MY HOMEWORK Hello. I had to make a python sudoku solver and this is what I came up with. http://pastebin.com/JRKaqSed (includes my input and the output I get) However, when I run it, ...

1 2 3 4 5 45
15 30 50 per page