Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

try catch not catching #194

Open
Open
@peugas

Description

@peugas

I'm trying to debug this simple code:

using Gallium
function justafunc()
    try
        A = note("12345")
    catch
        println("Error")
    end
    println("After try-catch.")
end
#Gallium.breakpoint(justafunc)
justafunc()

The function note() is not defined. It is there just to test try-catch statement.

Running my code without debugging, try-catch handles the 'not defined' error and I get the following output:

Error
After try-catch.

But if I debug using Gallium the execution of my code stops with the following error:
UndefVarError: note not defined

Is this a limitation of Gallium or am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions