Activity log for bug #1947613

Date Who What changed Old value New value Message
2021-10-18 16:23:47 Valeriy Fedotov bug added bug
2021-10-18 16:23:47 Valeriy Fedotov attachment added coverage-bug.zip https://bugs.launchpad.net/bugs/1947613/+attachment/5533915/+files/coverage-bug.zip
2021-10-18 16:24:40 Valeriy Fedotov attachment added difference.png https://bugs.launchpad.net/sbcl/+bug/1947613/+attachment/5533916/+files/difference.png
2021-10-18 16:30:57 Valeriy Fedotov description Hi! I usually develop my code with (declaim (optimize debug)) for simpler debugging, and I noticed that coverage data gathered with sb-cover module changes a lot when I use this declaim. Vanilla coverage data without any additional declaims to (declaim (optimize sb-cover:store-coverage-data)) does not highlight defvar, defpackage and many other forms. But when debug is turned on I can get defvar, defpackage and other forms withous function body to be green or red. I do not know what is the mechanism behind marking them red or green. In my code they are always red, but my project is too large for attaching it here. In minimized version all defvars and defpackages are always red. I'm attaching .zip archive with minimized version. You can launch it with sbcl --script main.lisp Also for convenience I attach image with non-debug-optimized result on the left side, and optimized on the right. Thank you. Hi! I usually develop my code with (declaim (optimize debug)) for simpler debugging, and I noticed that coverage data gathered with sb-cover module changes a lot when I use this declaim. Vanilla coverage data without any additional declaims to (declaim (optimize sb-cover:store-coverage-data)) does not highlight defvar, defpackage and many other forms. But when debug is turned on I can get defvar, defpackage and other forms withous function body to be green or red. I do not know what is the mechanism behind marking them red or green. In my code they are always red, but my project is too large for attaching it here. In minimized version all defvars and defpackages are always green. I'm attaching .zip archive with minimized version. You can launch it with sbcl --script main.lisp Also for convenience I attach image with non-debug-optimized result on the left side, and optimized on the right. Thank you.
2021-10-18 21:05:19 Stas Boukarev sbcl: status New Invalid