Log startup of notepad
-
I am trying to find where Notepad++ stores its log file.
If no log file by default, how can I enable it.The reason is periodic hang of Notepad++ on startup.
I double click on a text file and then only the window frame (not window content) appears.
The only solution is to kill the process.
I use Windows 7 x64.So, I want the log to understand where is the problem (probably a plugin?) and provide a better report to bug tracking system.
-
@Παύλος-Γκέσος said:
where Notepad++ stores its log file
I didn’t know there was such a log file.
(probably a plugin?)
Suggestion: Remove all plugins except maybe the ones that come with N++, then add them back in one at a time until you have a failure. Of course, it is possible you won’t get a failure from this.
-
Seems that SysInternals Process Explorer does the trick.
This is thread’s call stack:
Clearly the DSpellCheck is the evil. I disable it and there is no hangs until now.ntoskrnl.exe!KiCpuId+0xaa
ntoskrnl.exe!ExAcquireSpinLockExclusiveAtDpcLevel+0x2c2
ntoskrnl.exe!KeWaitForSingleObject+0x1a3
ntoskrnl.exe!ExReleaseResourceForThreadLite+0x60
ntoskrnl.exe!KeInsertQueueApc+0x725
ntoskrnl.exe!ExAcquireSpinLockExclusiveAtDpcLevel+0x4cd
ntoskrnl.exe!KeWaitForMultipleObjects+0x272
win32k.sys!memset+0x7c97
win32k.sys!memset+0x7d59
win32k.sys!EngFntCacheLookUp+0x1747b
win32k.sys!memset+0x6c9e
win32k.sys!EngFntCacheLookUp+0x60b0
win32k.sys!W32pArgumentTable+0x3818a
win32k.sys!EngSetLastError+0x7f
win32k.sys!EngSetLastError+0xd836
ntoskrnl.exe!longjmp+0x5b93
USER32.dll!IsDialogMessageW+0x20a
USER32.dll!UserHandleGrantAccess+0x4020
DSpellCheck.dll!isUnicode+0x55ed2
DSpellCheck.dll!isUnicode+0x3bae
DSpellCheck.dll!isUnicode+0x35cb1
DSpellCheck.dll+0x4a1d
DSpellCheck.dll!beNotified+0x98
Notepad++.exe+0xd7fe6
Notepad++.exe+0xd7ede
Notepad++.exe+0x8e94a
Notepad++.exe+0x12fc4e
Notepad++.exe+0x13e35f
kernel32.dll!BaseThreadInitThunk+0xd
ntdll.dll!RtlUserThreadStart+0x1d