Skip to content

Commit

Permalink
doc: add debugging section to troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
dlech committed May 4, 2024
1 parent 2c62bd9 commit 68fda66
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
Binary file added doc/images/vs-attach-to-process-keepass.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/vs-attach.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/vs-continue-without-code.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/vs-dotnet-desktop-development.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/vs-output-tab.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
42 changes: 42 additions & 0 deletions doc/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,45 @@ Report your issues on `GitHub`_ (preferred) or send me a `message`_.

.. _`GitHub`: https://github.com/dlech/keeagent/issues
.. _`message`: https://lechnology.com/contact


Debugging
=========

You can use Visual Studio to see a limited amount of debug information.

Prerequisite: `Visual Studio 2022 <https://visualstudio.microsoft.com/vs/>`_
with the *.NET desktop development* workload installed.

.. figure:: images/vs-dotnet-desktop-development.png
:alt: screenshot of Visual Studio Installer with .NET desktop development workload selected

1. Start *KeePass*.

2. Start *Visual Studio*.

3. Select *Continue without code*.

.. figure:: images/vs-continue-without-code.png
:alt: screenshot of Visual Studio 2022 start screen "Continue without code" hyperlink

4. Click the *Attach* button.

.. figure:: images/vs-attach.png
:alt: screenshot of Visual Studio 2022 start screen "Attach" button

5. Select *KeePass* from the list of processes. Use the filter to find it quickly.

.. figure:: images/vs-attach-to-process-keepass.png
:alt: screenshot of Visual Studio 2022 "Attach to Process" dialog with "KeePass.exe" selected.

6. Click the *Attach* button.

7. Select the *Output* tab.

.. figure:: images/vs-output-tab.png
:alt: screenshot of Visual Studio 2022 "Output" tab

8. Reproduce the issue in KeePass/KeeAgent.

9. Look for any useful information in the *Output* tab.

0 comments on commit 68fda66

Please sign in to comment.