Debug Helper

Lo scopo di questo addon è quello di semplificare il processo di debugging in NVDA. Verranno aggiunte nuove funzionalità in base alle richieste degli utenti. Qualsiasi problema o idea può essere segnalata tramite posta elettronica oppure tramite GitHub issues

comando principale

  • NVDA + Maiusc + F1: inserisce una linea di marcatura nel log NVDA.

Spiegazione ed utilizzo

Quando si utilizza il comando principale NVDA+Shift+F1, NVDA inserisce una riga simile alla seguente nel log, al livello Info:

-- Mark 1 --

Verrà anche annunciato: "inserito nel log Mark 1!"

Se si preme il tasto nuovamente, si otterrà:

-- Mark 2 --

e la sintesi vocale dirà: "inserito nel log Mark 2!"

Let us say for example that you were about to perform a series of tasks, that you know generate lengthy error content in the NVDA log. You are going to post the relevant portions of your log to a mailing list or the NVDA GitHub issue tracker. However you don't want to hunt through your entire log to find the relevant content. So you use this add-on to insert mark 1, right before you do the thing that causes the first error. If you know something else will generate further errors, or a different kind, you insert another mark to separate that error from the previous one, or so you can say "this is what I was doing at mark 3, where some errors occurred." Another example: While using some application, something happens that causes an error (maybe you hear the Windows error sound). You want to go back and find that error later, but you don't want to stop working and save the log right now. So you use this add-on again, to insert a mark in your log. This time the mark will appear after the errors in your log, instead of before. But either way, the marks will help you narrow down the important sections of your log.

The mark lines shown above can be easily searched for with the find command in a text editor such as Notepad or Notepad++. Additionally, by default, there is a blank line inserted above each mark. Blank lines are also possible after the mark. Blank lines can be helpful if you are using NVDA's log viewer, or another text editor, and want to use the arrow keys to quickly read up/down through the log, to find a particular mark. It is easy to pick the word "blank" out of a bunch of text being spoken as you quickly move through the log. If you arrow really fast, you might need more than one blank line, which you can adjust in settings.

Note: The mark count will survive the reloading of plugins (NVDA+Control+F3), but will start back at one if you restart NVDA.

Configurazione:

In the Settings section of NVDA Preferences, you will find a "Debug Helper" category. In the settings dialog you can change the number of blank lines inserted before and after each mark line. The default is one line before, and zero after, although you can use 0 through 10 lines for either. Under the Tools category of NVDA's Input Gestures panel, you can change NVDA+Shift+F1 to a key sequence of your choice.

Changelog

  • Version 1.0.2 (2019-08-28)

    • Translation and code cleanup.
  • Version 1.0.1 (2019-08-26)

    • Minor bugfix version to probably fix an install problem on certain versions of Windows.
  • Version 1.0 (2019-08-22)

    • Initial release. Including following features:

      • Ability to generate numbered mark lines in the log (at info level).
      • Ability to add 0-10 blank lines before and after each mark line.
      • Configuration via NVDA settings dialog system.