Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notepad++ hangs and then unable to click on notepad++ window anywhere. #4295 #10

Closed
pinodev opened this issue May 3, 2019 · 1 comment

Comments

@pinodev
Copy link

pinodev commented May 3, 2019

Hi there,

Please see ticket notepad-plus-plus/notepad-plus-plus#4295, originally logged for Notepad++, but it turns out it is the time keeping plugins that mess with the application.

Is there a way to debug a plugin ?
(I mean, if I compile the plugin myself and I run Notepad++, and later see it freeze, would I be able to break in and debug to see where it's stuck ?)

Kind regards,

P.

@p0358
Copy link
Owner

p0358 commented Oct 20, 2022

I'll close this one as it's duplicate of #4, where I commented now.

If it'd still happen, for debugging the best way is to enable debug logging in plugin settings just to see if issue can be spotted this way first.

Otherwise it gets trickier, you can clone the repo and open it in Visual Studio 2019 (not 2022...), then attach to process, but it will only work if the issue is in managed .NET code. If it's not, then you'd need debug symbols for particular Notepad++ version and attaching the debugger in native mode rather than managed to see where Notepad++ itself hangs if so happens...

@p0358 p0358 closed this as completed Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants