Comments (3)
Great work putting together this debug framework btw! :)
from debug.jl.
One reason that I haven't implemented this is because I'm a bit unclear on how it would work. Exceptions can occur as part of normal program execution; you can't be sure that it was a problem until you find out that the exception was uncaught. For that case, I put down some thoughts in #28.
Another possibility could be to have an option to trap on exceptions as soon as they try to unwind instrumented code. After all, exceptions are rarely used in normal control flow in Julia. Either you could always let the exception propagate, and break at each scope that it is about to leave. Or you could let the user decide to silence the exception and carry on.
What did you have in mind?
And thanks :)
from debug.jl.
I support this request as well. Can add a parameter to @debug
about which error to trap (or trap them all), and in the debugger you can just step or continue.
from debug.jl.
Related Issues (20)
- Test failure HOT 1
- Error on Pkg.add("Debug") HOT 2
- [PkgEval] Debug may have a testing issue on Julia 0.3 (2014-07-14) HOT 1
- Ctrl-D triggers error HOT 3
- "invalid assignment location" when I use a form of for loop syntax HOT 5
- [PkgEval] Debug may have a testing issue on Julia 0.4 (2014-10-23) HOT 1
- Using @debug function func(x) results in ERROR: T not defined HOT 6
- Semicolon does not suppress output in debugger HOT 1
- In the debugger, if blocks DO introduce new scope. HOT 1
- debug with keyword arguments HOT 2
- Expose functionality for eval in local scope HOT 1
- @debug causes stack overflow in serialize() HOT 4
- [PkgEval] Debug may have a testing issue on Julia 0.4 (2015-07-04)
- Debug macro makes function disappear inside an iprofile block HOT 6
- Debug macro makes function disappear when used with @Logging.configure (Logging.jl)
- Plans for package HOT 3
- Does Debug.jl support IJulia? HOT 3
- Debug not working with Julia v0.5 HOT 9
- Info about upcoming removal of packages in the General registry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debug.jl.