[ddbg] Preview of 0.11

Jascha Wetzel firstname at mainia.de
Fri Nov 9 06:48:42 PST 2007


Ary Manzana wrote:
> What is the exactly problem solved in 0.11?

there are several fixes and changes in the preview and a lot more to 
come for 0.11. this particular issue was, that ddbg got confused about 
source lines if multiple object files specified to have received source 
lines from the same source file. ddbg did a module-local 
first-best-match on the source line needed for the breakpoint, but 
needed to do a module-global best-match (any line number in the same 
file >= the one requested matches, less distance is better).
e.g. module a has code from source line set A, module b from source line 
set B, both sets from the same file. you set a breakpoint on a line in 
B, ddbg searches all line sets, happens to search A first, finds a 
module-local best-match and uses that instead of trying B too, which 
would lead to a better match -> your breakpoint sits on the wrong line.


More information about the Digitalmars-d-debugger mailing list