-
If I have a project with the following structure:
proj/app.py
proj/src/package/__init__.py
proj/src/package/one.py
proj/src/package/two.py
proj/src/package/three.py
Breakpoints in 'app.py' work fine. My PYTHONPATH has 'proj/src' in it, so when I do an 'import package' it knows where to find it.
in one.py
if I have an import like
import package.two as two
Then breakpoints that I...
2009-10-29 23:08:48 UTC in Pydev for Eclipse
-
Thanks Fabio!
2009-07-16 02:36:10 UTC in Pydev for Eclipse
-
Is it possible to have the interactive debugger (currently a feature of PyDev Extensions) to work like the python console? E.g. instead of pressing return twice in the output view to run expressions etc, we can actually use the normal console, and get full readline support (up arrow to access history of expressions) etc? This is akin to how Wing's and Eric4's interactive debuggers work...
2009-07-15 20:51:46 UTC in Pydev for Eclipse
-
Bug Link: http://sourceforge.net/tracker/index.php?func=detail&aid=1654768&group_id=86244&atid=578926
The patch to this problem is as follows:
After line 83 in the 'connect' code, add:
# special case of b is a 'port'
if string.lower(b[0]) == 'port':
b[1] = int(b[1])
The new code will read:
.
.
.
else:
if len(b) < 2...
2007-02-08 02:48:07 UTC in PDO: Python Database Objects
-
Since the MySQL API requires that 'port' be an integer, and pdo doesn't do string->int conversions on its connection string parameters, overriding the MySQL port results in an error.
Steps to reproduce (in an interpretor)
> import pdo
> pdo.connect("module=MySQLdb;user=user;passwd=passwd;db=db;port=3304") # notice the non-standard port specification.
Traceback (most recent call last)...
2007-02-08 02:43:16 UTC in PDO: Python Database Objects
-
This 'bug' appears to be in the second call to mysql_init that's made on line 219 of /shared/src/CMySQL.cpp. I think the second call to mysql_init cancels all the prior init_commands that run in the lines above. I commented out this line, recompiled the code, and everything appears to work correctly, although I haven't done extensive testing. The Limit from the server Dialog setup appears to...
2007-01-26 23:17:09 UTC in MySQL Control Center
-
The was a very annoying problem for me as well. I found a fix for it, but it involves modifying the source code.
The 'bug' appears to be the second call to mysql_init that's made on line 219 of /shared/src/CMySQL.cpp. I think the second call
to mysql_init cancels all the prior init_commands that run in the lines above. I commented out this line, recompiled the code, and everything appears...
2007-01-26 23:14:56 UTC in MySQL Control Center