toggle quoted messageShow quoted text
Thank you, I will definitely look at incorporating some or all of these!
Particularly, as you say, I can already think of times I could have used debugTool, so I really like the idea of bringing that in.
I'll be in touch off list next week.
On Fri, 23 Aug 2019, Cyrille via Groups.Io wrote:
I have some scripts that I use for debug purpose. All these scripts are in the following repo :
The doc for these scripts is in the readme that appears on the main page of the repo.
* debugTool : https://raw.githubusercontent.com/CyrilleB79/NVDAScripts/master/globalPlugins/debugTool.py
Allows to activate and de-activate a stack trace log each time NVDA speaks something. Useful if you want to know which function has made NVDA speak. This
script also contains instructions if you want to trigger stack trace log on an other output function ; an example with braille is commented.
* beepError : https://raw.githubusercontent.com/CyrilleB79/NVDAScripts/master/globalPlugins/beepError.py
This script activate the beep on error NVDA feature even on NVDA stable releases. Useful if you want to track bugs in environments where you do not want to
install alpha or beta version of NVDA such as work's computer, shared computer (with NVDA shared with other users...)
* windowutil: https://github.com/CyrilleB79/NVDAScripts/raw/master/globalPlugins/windowutil.py
A script to get quickly info on an object, such as name, role, value, window control ID, python class mro(), etc.
If you feel these scripts could be integrated in your addon, feel free to copy, rework and/or integrate them partially or entirely. I think that integrating
debugTool (stack trace log on speech) could be the most interesting to integrate.
If you prefer, I may also provide PR once you have agreed on a feature. However, I do not know when I will be able to make this/these PR(s).
----- Mail d'origine -----
De: Luke Davis <email@example.com>
Envoyé: Fri, 23 Aug 2019 05:03:50 +0200 (CEST)
Objet: [nvda-addons] Debug Helper 1.0: new stable add-on released #addonrelease
I am herewith releasing the first stable version of Debug Helper. This is an
add-on which is intended to help people who do a lot of work with the NVDA log.
If you are trying to report problems with something you're doing, or writing an
add-on, or trying to fix something, you may find it useful to be able to jump
right to the spot in the log before or after the error occurred, or some
important output happened.
At the press of a key (default: nvda+shift+F1), this add-on will insert a "mark
line" in the NVDA log, which you can then search for in a text editor. Each mark
line includes a sequential number, and can have 1 or more blank lines
before/after it to aid in finding it quickly when fast-arrowing.
It is Python 2 and 3 compatible, and works in NVDA versions from 2017.3
The add-on will hopefully be on the community site soon, but for now it can be
Full documentation, including larger usage examples:
GitHub repo (for issues/to download development versions, etc.):
This is a small add-on with a very specific set of use cases right now, but if
you have ideas for ways it could be expanded, please contact me.