Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

It worked, then crashed and never worked again #10

Open
ghost opened this issue Jul 19, 2019 · 6 comments
Open

It worked, then crashed and never worked again #10

ghost opened this issue Jul 19, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Jul 19, 2019

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.

@Atrejoe
Copy link
Owner

Atrejoe commented Sep 2, 2019

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
Copy link
Owner

Atrejoe commented Sep 2, 2019

See remark on introduction of logging : #11 (comment)

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

@thjungers
Copy link

(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

@Atrejoe
Copy link
Owner

Atrejoe commented Sep 4, 2019

Hi @thjungers ,

You can try these:
MarkdownPreview.zip

Good luck :)

@thjungers
Copy link

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)

@Atrejoe
Copy link
Owner

Atrejoe commented Sep 7, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants