Dwarf line info incorrect due to .align/nop in code // if then jumps into else as align-nops are attributed to else / fixed in 331

  • Lazarus/FPC Version: Lazarus 4.0 (rev lazarus_4_0) FPC 3.2.2 x86_64-win64-win32/win64

  • Operating System: Édition Windows 11 Famille Version 23H2 Build du système d’exploitation 22631.4112

  • CPU / Bitness: 64

What happens

<In step-by-step mode, the track stops, in if then else structure, on a line where it should not. This occur when there's only one line. This line is obviously not executed

What did you expect

<debugger tracer don't stop on a line where it should not>

Steps to reproduce

a work around is in project

project1.zip