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

try catch not catching #194

Open
peugas opened this issue Jun 30, 2017 · 0 comments
Open

try catch not catching #194

peugas opened this issue Jun 30, 2017 · 0 comments

Comments

@peugas
Copy link

peugas commented Jun 30, 2017

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant