Logpoints in VS Code

Does the Julia extension for VS Code support the “logpoints” debugging feature? As far as I can tell, logpoints are currently treated just like breakpoints.

Here’s what I tried:

  • Copy this function into a file foo.jl:
    function foo()
        s = 0
        for i = 1:5
            s += i
        end
    end
    
  • Create a logpoint on the s += 1 line with text hello world.
  • Run include("foo.jl"); @run foo()

I would have expected this would print hello world five times, but it seems it just breaks five times instead.

Not at the moment, the underlying debugger doesn’t support it, see here.

2 Likes