Skip to content

Can not serialize the debug backtrace? #73

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

Open
IngwiePhoenix opened this issue Jan 15, 2016 · 0 comments
Open

Can not serialize the debug backtrace? #73

IngwiePhoenix opened this issue Jan 15, 2016 · 0 comments

Comments

@IngwiePhoenix
Copy link
Contributor

OS 2.6.4-rc-x64 Copyright (C) 2012-2014 by Evgeniy Golovin
ObjectScript is free and open source: https://github.com/unitpoint/objectscript
> function f(){ print json.encode(debugBackTrace()); }
<function#2370>
> f()

Unhandled exception: 'DateTime 'this' must not be null'

#0 {{CORE}}: f, args: {}

When running OS remotely and using JSON as a layer of communication, this is rather problematic. How can I get the backtrace as JSON?

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

1 participant