[Lazarus] Some debug facts/improves

JoshyFun joshyfun at gmail.com
Mon Oct 5 16:20:39 CEST 2009


Hello Lazarus-List,

Monday, October 5, 2009, 10:39:24 AM, you wrote:

>>>> 1) Once stop on exception the assembler window will only appear if no
>>>> backtrace information is available. It will show the clser offended
>>>> line with debug information.
>> MW> I thought it was already the case :)
>> No it was not always the case, I do not know exactly the reason, but
[...]
>> difference once I'm getting into the debugger inners.

MW> OK. When you have a patch, have it separate form other changes.

In original code ViewDebugDialog(ddtAssembler) is almost always
called before getting the offended line and as it is shown the next
condition is false and the line is not searched.

Maybe the attached solution is not the best, but at least it works :)
It basically moves the assembler window show to after the offended
line has been found, and only displayed if no line has been found.

-- 
Best regards,
 JoshyFun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugmanager_correct_line_stop_exception.patch
Type: application/octet-stream
Size: 1569 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20091005/6bfb7481/attachment-0004.obj>


More information about the Lazarus mailing list