Comments (6)
That's kind of weird indeed.
The default fixed font used to display the console and the program source code is "Courier". See
Line 3000 in 2082b8b
Could you try to change that and see if there is a different result ?
The settings.cfg is saved using pickle, this is why it is a binary format. It would be a good idea indeed to move to a text format.
Sorry for the delay and inswering your bug issue by the way.
from winpdb.
On which platform are you using winpdb ?
from winpdb.
I found the same problem on Ubuntu 20.04 (64 bit). I used "python -m pip install winpdb-reborn" to install as a normal user.
In def set_font(self, ctrl):
in the else
branch I replaced face = "Courier"
with face = "Cousine"
. (This was the first fixed width font I found in LibreOffice Writer.) This made the console view readable, but not the source code.
After replacing another occurrence of Courier
at line 2372 in def __init__(self, *args, **kwargs):
the source code is readable as well.
I just noticed that the installation of the Microsoft fonts fixes the problem:
sudo apt-get install ttf-mscorefonts-installer
from winpdb.
Thanks, that's greatly appreciated ! I will look into WxPython to understand how to find a reliable fixed width font.
from winpdb.
If you feel like fixing this, that would be of great help since you can investigate the problem directly. On Windows, the problem does not show up even if I force a non existing font. I just get text with a non fixed font, so Windows probably has a bettter default mechanism for this.
from winpdb.
Can you check with the version I just committed ? The font lookup is now more generic, it should fix the problem.
from winpdb.
Related Issues (20)
- Bug Winpdb crash HOT 8
- No longer available from pip HOT 5
- winpdb and python2 exception is not displayed HOT 1
- winpdb with python 2 eval does not display correctly variables HOT 1
- Make it clear that python3 can still be debugged by winpdb HOT 3
- py3.6, cannot attach to remote HOT 2
- fails to install on Rasapbian Stretch HOT 3
- Pip install fails in conda env HOT 2
- Namespace not working on Python 2.7 HOT 2
- Incompatibilities with wxpython 4.0.7 HOT 3
- rpdb folder not installed when using pip HOT 1
- Mismatched Passwords HOT 2
- In Windows XP 32 bits Home (Python 3.4.3) HOT 2
- local complex values like stuctures can't inspect
- error message on windwos HOT 5
- RPDBTERM not defined error HOT 4
- can't open file 'session_manager\..\rpdb2.py': [Errno 2] No such file or directory HOT 3
- Get wrong line (16) when setting a breakpoint at line 29 HOT 1
- winpdb crashes with Python 3.12 at Windows HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from winpdb.