Debug with Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
donescamillo
Newbie
Newbie
Posts: 1
Joined: Mon Nov 13, 2023 11:23 am

Debug with Wine

Post by donescamillo »

Hello,

I run PdfXchangeEditor under Wine. The app works OK, but after some time when I try to close the app, it freezes and I have to kill it.
I created a bug in Bugzilla, but someone asked for debug information.
My question is:
How do I run PdfXchange editor under Wine debugger?
I tried this

Code: Select all

me@MyDell:~$ winedbg /home/me/.local/share/applications/PDFXEdit10_Portable_x64/PDFXEdit.exe
WineDbg starting on pid 0dd8
1084:fixme:dbghelp:elf_search_auxv can't find symbol in module
/*more like this*/
1084:fixme:dbghelp:elf_search_auxv can't find symbol in module
0x006ffff2945301 ntdll+0x55301: ret
Wine-dbg>
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Debug with Wine

Post by jkfloris »

Only the terminal output is requested. You can save it as follows:

Code: Select all

cd /home/me/.local/share/applications/PDFXEdit10_Portable_x64/
wine PDFXEdit.exe >> log.txt 2>&1
If you are asked for a debug channel, use:

Code: Select all

WINEDEBUG="+channel" wine PDFXEdit.exe >> log.txt 2>&1
More information is available on the WineHQ Wiki
Post Reply