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

Resumable function has stopped #52

Open
hdavid16 opened this issue Mar 24, 2021 · 2 comments
Open

Resumable function has stopped #52

hdavid16 opened this issue Mar 24, 2021 · 2 comments

Comments

@hdavid16
Copy link
Member

hdavid16 commented Mar 24, 2021

What causes this error? I am trying to interrupt a process in SimJulia using SimJulia.interrupt

ERROR: @resumable function has stopped!
Stacktrace:
 [1] error(::String) at .\error.jl:33
 [2] (::ProcessSim.var"##312")(::Nothing) at C:\Users\HD\.julia\packages\ResumableFunctions\n1hTu\src\macro.jl:88
 [3] execute(::SimJulia.Put, ::Process) at C:\Users\HD\.julia\packages\SimJulia\alkAr\src\processes.jl:32
 [4] (::SimJulia.var"#1#2"{typeof(SimJulia.execute),SimJulia.Put,Tuple{Process}})() at C:\Users\HD\.julia\packages\SimJulia\alkAr\src\base.jl:51 

Also, is there a way to know which resumable function stopped? I have nested processes.

@BenLauwens
Copy link
Collaborator

I can return also the name of the @resumable function, the instance of the process is not known.
Does this help?

@hdavid16
Copy link
Member Author

Yes. That would be helpful when debugging. Thanks

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

No branches or pull requests

2 participants