Breakpoints in winedbg

eric pouech eric.pouech at wanadoo.fr
Thu Apr 19 13:17:58 CDT 2001


g.patel at wanadoo.fr wrote:
> 
> On Wed, 18 Apr 2001 18:31:39 +0200, BALATON Zoltan <look at my.sig>
> wrote:
> 
> >Hello,
> >
> >With wine-20010326 breakpoints doesn't seem to work.
> 
> That's old. I remember dimly having signaled this problem
> in this distant past to Eric and he issued a patch that I believe
> fixed it.
well, there are several issues
first, when you set the breakpoint the DLL isn't loaded yet, so
it's symbols are not available
secondly, the bug Gérard reported (mixup between export and import
table for a DLL). The second bug hasn't been fixed yet (my patch
hasn't been accepted)

so the only available solution is :
- turn on breakpoints when a new DLL is loaded 
	
- when USER32 is loaded, set this breakpoint
	b USER32.DLL.FindResourceA
- continue as needed 
- you could turn on break on dll load (if needed)
	set $BreakOnDllLoad=0

HTH
A+
-- 
---------------
Eric Pouech (http://perso.wanadoo.fr/eric.pouech/)
"The future will be better tomorrow", Vice President Dan Quayle



More information about the wine-users mailing list