You are here: PSPad forum > Developer forum - new builds > Re: PSPad unicode 5.0.1 (283) English

Re: PSPad unicode 5.0.1 (283) English

Goto Page: Previous1 2 3

#21 Re: PSPad unicode 5.0.1 (283) English

Posted by: gwinkless | Date: 08/09/2018 16:27 | IP: IP Logged

pspad:
Debug information file for 5.0.1 283 build:
pspad.poradna.net
It's a MAP file generated by Embarcadero Delphi

I tried downloading Delphi Community Edition in the hope I might be able to use the IDE as a debugger in Windows - I'm getting freezes fairly regularly now - but it doesn't offer me the choice of the Delphi IDE when I click "Debug" in Task Manager - it still only shows me Visual Studio.

Is there a trick to opening the pspad exe in the RAD IDE?

Options: Reply | Quote | Up ^


#22 Re: PSPad unicode 5.0.1 (283) English

Posted by: gwinkless | Date: 08/10/2018 09:31 | IP: IP Logged

gwinkless:
Is there a trick to opening the pspad exe in the RAD IDE?

I tried using the MAP file and converting to DBG then opening with visual studio but it won't load - suggestion is recent versions only open pdb files :(

In the end I downloaded windbg, which supposedly still works with .dbg, and it _looks_ like it's loaded the dbg file:

00400000 00dcd000 PSPad (codeview symbols) C:\ProgramData\dbg\sym\PSPad.dbg\5B6435519cd000\PSPad.dbg
Loaded symbol image file: C:\ProgramData\dbg\sym\PSPad.dbg\5B6435519cd000\PSPad.dbg
Image path: C:\Program Files (x86)\PSPad editor\PSPad.exe

x /D PSPad!s* shows a massive list of PSPad!System symbols, which does suggest the symbol table is loaded.

However the call stack for the various threads doesn't seem to show any PSPad functions. Whether that's just because it's too heavily stuck in a recursive loop I'm unsure (I don't know whether there's a limit to the number of levels the windbg stack will show?)

The interesting thread seems to be stuck recursing inside COMCTL32!TV_GetShownIndexItem+0x52 - there's 27 levels of that in the call stack. All the other threads seem to only show either ntdll!NtWaitForWorkViaWorkerFactory or ntdll!RtlUserThreadStart.

I don't know how much more useful I can be. This freeze only seems to happen when it's switching files, but there doesn't seem to be any specific trigger other than that; it's happening often enough that I'm going to have to go back to previous version :(

If you've any idea of how to get windbg to show anything more helpful then I'm happy to give that a try.

Cheers

Geoff

Options: Reply | Quote | Up ^


#23 Re: PSPad unicode 5.0.1 (283) English

Posted by: gwinkless | Date: 08/10/2018 12:42 | IP: IP Logged

gwinkless:
I don't know how much more useful I can be. This freeze only seems to happen when it's switching files, but there doesn't seem to be any specific trigger other than that; it's happening often enough that I'm going to have to go back to previous version :(

If I disable the code explorer window then the problem seems to stop, which does suggest it's related to the recent changes in that area.

Ta

Geoff

Options: Reply | Quote | Up ^


Goto Page: Previous1 2 3





Editor PSPad - freeware editor, © 2001 - 2018 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR