Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't inspect static variables in debugger #4778

Open
Cr0wn24 opened this issue Jan 31, 2025 · 0 comments
Open

Can't inspect static variables in debugger #4778

Cr0wn24 opened this issue Jan 31, 2025 · 0 comments

Comments

@Cr0wn24
Copy link

Cr0wn24 commented Jan 31, 2025

Context

Happens with RemedyBG, Visual Studio and RAD Debugger

Details

Odin version: odin version dev-2025-01-nightly:2aae4cf
OS version: Microsoft Windows 10 Home 10.0.19045 Build 19045

Expected Behavior

Be able to hover over static variables or see them in the watch window.

Current Behavior

Hovering: nothing happens
Placing in watch window: identifier is undefined

Steps to Reproduce

  1. Build the code with odin build . -debug
  2. Place a breakpoint on line 7
  3. Try to inspect x by hovering over it or placing it in a watch window
package main

import "core:fmt"

main :: proc() {
  @static x := 5
  fmt.println(x)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants