Debugging: accessing the log file - MateuszFido/LCMSpector GitHub Wiki

As of the date of writing, LC-Inspector is still in its "alpha" phase and developed by only one person, and so it contains many bugs and missing features. For debugging, it's helpful to be able to retrace the state of the application, along with any function calls made at the time the bug occurred.

Any bugs and warnings are logged into a log file, app.log. Depending on the platform, this file is present in either the folder _internal (Windows) or inside the .app package (macOS).

[!WARNING] The app.log file is refreshed on every launch. This means that if you encounter a bug and want to track it in the log file, do not run LC-Inspector again unless you can reproduce the bug.

Accessing the log file

Windows

On Windows, navigate to the folder distributed together with the executable called _internal, open it, and open app.log in a text editor (e.g., Notepad).

MacOS

On MacOS, you need to find the .app package that you are using to LC-Inspector. If you installed via a .dmg archive, this is usually going to be in your /Applications folder. Then right-click on LC-Inspector, choose Show package contents -> Contents -> Resources -> app.log.