Community
    • Login

    Log startup of notepad

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 4.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Παύλος ΓκέσοςΠ Offline
      Παύλος Γκέσος
      last edited by

      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.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @Παύλος Γκέσος
        last edited by

        @Παύλος-Γκέσος 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.

        1 Reply Last reply Reply Quote 2
        • Παύλος ΓκέσοςΠ Offline
          Παύλος Γκέσος
          last edited by

          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

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors