You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging and examining program running step by step, vs code is incorrectly reporting that program is executing inner if command:
package test
import FMT "core:fmt"
main :: proc(){
DebuggingTest("aaa")
}
DebuggingTest :: proc(str: string){
for r in str{
if r == 'b'{
FMT.print("Should not get here!")
}
}
}
Operating System & Odin Version:
Odin: dev-2025-02-nightly:ebda946
OS: Windows 11 Home Basic (version: 24H2), build 26100.3194
CPU: Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
RAM: 32684 MiB
Backend: LLVM 18.1.8
Expected Behavior
Debuger is indicating either line 13 or 14 - if inner statement omited
Current Behavior
Debugger is indicating executing line 12 - indicating its going to execute if inner statement.
The text was updated successfully, but these errors were encountered:
MichalBrix
changed the title
(Debugging, vscode) debugger step into for loop inner if even if nothing is printed.
(Debugging, vscode) debugger incorrectly indicate what will be/is executed
Feb 23, 2025
MichalBrix
changed the title
(Debugging, vscode) debugger incorrectly indicate what will be/is executed
(Debugging, vscode) step by step debugger incorrectly indicate what will be/is executed
Feb 23, 2025
Context
While debugging and examining program running step by step, vs code is incorrectly reporting that program is executing inner if command:
Odin: dev-2025-02-nightly:ebda946
OS: Windows 11 Home Basic (version: 24H2), build 26100.3194
CPU: Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
RAM: 32684 MiB
Backend: LLVM 18.1.8
Expected Behavior
Debuger is indicating either line 13 or 14 - if inner statement omited
Current Behavior
Debugger is indicating executing line 12 - indicating its going to execute if inner statement.
The text was updated successfully, but these errors were encountered: