How to use Winedebug variable or winedbg?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Raffhell
Level 2
Level 2
Posts: 27
Joined: Mon Nov 08, 2010 1:45 pm

How to use Winedebug variable or winedbg?

Post by Raffhell » Mon Feb 21, 2011 3:28 pm

Hi, I'm trying to understand how to use the debugging system built-in wine.. I've tried yet to use both "winedbg <app.to.launch.exe>" and "wine <app.to.launch.exe> WINDEBUG=+all but doesn't work at all =(

Where's the mistake? It should be very useful understand why programs doesn't work and expecially try possible solutions... :)

John Drescher

How to use Winedebug variable or winedbg?

Post by John Drescher » Mon Feb 21, 2011 3:38 pm

On Mon, Feb 21, 2011 at 3:28 PM, Raffhell <wineforum-user@winehq.org> wrote:
Hi, I'm trying to understand how to use the debugging system built-in wine.. I've tried yet to use both "winedbg <app.to.launch.exe>" and "wine <app.to.launch.exe> WINDEBUG=+all but doesn't work at all =(

Where's the mistake? It should be very useful understand why programs doesn't work and expecially try possible solutions...  :)
It should be

WINEDEBUG=+all wine app.to.run.exe

Raffhell
Level 2
Level 2
Posts: 27
Joined: Mon Nov 08, 2010 1:45 pm

Re: How to use Winedebug variable or winedbg?

Post by Raffhell » Mon Feb 21, 2011 3:44 pm

[/quote]
It should be
WINEDEBUG=+all wine app.to.run.exe[/quote]

D'oh! I've always tried the nasties combination but never tried to invert them ...

Obviously now works, thanks :)

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: How to use Winedebug variable or winedbg?

Post by vitamin » Tue Feb 22, 2011 9:45 am

Raffhell wrote:Hi, I'm trying to understand how to use the debugging system built-in wine..
For example of how to use winedbg: http://wiki.winehq.org/Debugging_the_PE ... pen_dialog
And debug channels: http://wiki.winehq.org/DebugChannels

Locked