MarkdownPreview icon indicating copy to clipboard operation
MarkdownPreview copied to clipboard

It worked, then crashed and never worked again

Open ghost opened this issue 6 years ago • 6 comments

Thank you for making this! I installed on latest windows 10 home. It worked great and then it crashed and that was that. It never worked again despite repeated reboots. Very close! I look forward to trialling future versions.

ghost avatar Jul 19 '19 08:07 ghost

Hi @JamesFrederik, sorry about the late reply. I know this application has stability issues, a lot of the other issues are regarding experiencing installation or functionality issues. I think unless I have better debugging tools for Sharpshell, this is hard to fix.

Atrejoe avatar Sep 02 '19 18:09 Atrejoe

See remark on introduction of logging : https://github.com/Atrejoe/MarkdownPreview/issues/11#issuecomment-527227637

Furthermore, Windows Sandbox (available in Windows 10 Pro and up) helps with problem analysis on a pristine environment.

Atrejoe avatar Sep 02 '19 20:09 Atrejoe

(Follow-up from issue #11, which seems to be related to this issue).

Hi,

I don't have issues with previewing other extensions (like Word files or images). When trying to preview a .md file, it directly shows "No preview available". I've tried waiting for a few minutes, it doesn't change anything.

I didn't compile myself, can you send me binaries for the debugging branch?

Thanks

thjungers avatar Sep 04 '19 10:09 thjungers

Hi @thjungers ,

You can try these: MarkdownPreview.zip

Good luck :)

Atrejoe avatar Sep 04 '19 18:09 Atrejoe

Thanks @Atrejoe.

I've uninstalled, replaced the binaries, reinstalled, put the HKEY_LOCAL_MACHINE\Software\SharpShell\LoggingMode key to 1, tested in the Explorer and in the ServerManager, yet I don't see any logging in DebugView 😞 What am I doing wrong?

However, I've just realised that, in the ServerManager, when I click on Test Server in Test Shell, if I click Continue on the error message I mentioned, I can see the preview for .md files (but only in this Test Shell, not in the Explorer)

thjungers avatar Sep 05 '19 11:09 thjungers

Just for referencing: https://github.com/dwmkerr/sharpshell/wiki/Debugging-&-Diagnostics

When you set the logging mode to 7 (these values are flags so you can set multiple at the same time), you should see messages in a file and in the event log too.

I have a hard time debugging too, while you see that I left trace messages all over the place, I see none in the logs. So you know what to expect, see log calls in: https://github.com/Atrejoe/MarkdownPreview/blob/debugging/MarkdownPreview/MarkdownPreviewHandler.cs

Atrejoe avatar Sep 07 '19 06:09 Atrejoe