Comments (3)
It isn't REPL, but the broken state of logging if using Logging
isn't present:
$ ./julia -e '@warn "beep" exception=(ErrorException("foo"), backtrace())'
┌ Warning: beep
│ exception = (ErrorException("foo"), Union{Ptr{Nothing}, Base.InterpreterIP}[Ptr{Nothing} @0x00007f5726afd3a0, Ptr{Nothing} @0x00007f573ad32c6b, Ptr{Nothing} @0x00007f573ad56b9b, Ptr{Nothing} @0x00007f573ad563da, Ptr{Nothing} @0x00007f573ad576b5, Ptr{Nothing} @0x00007f573ad57d78, Ptr{Nothing} @0x00007f573ad59575, Base.InterpreterIP in top-level CodeInfo for Main at statement 50, Ptr{Nothing} @0x00007f573ad7d7a2, Ptr{Nothing} @0x00007f573ad7e160, Ptr{Nothing} @0x00007f573ad80202, Ptr{Nothing} @0x00007f5726c752c4, Ptr{Nothing} @0x00007f5726d95da8, Ptr{Nothing} @0x00007f5727157b90, Ptr{Nothing} @0x00007f573ad32c6b, Ptr{Nothing} @0x00007f573adbeb15, Ptr{Nothing} @0x00007f573adbf631, Ptr{Nothing} @0x0000562c9300c08c, Ptr{Nothing} @0x00007f573b9efd8f, Ptr{Nothing} @0x00007f573b9efe3f, Ptr{Nothing} @0x0000562c9300c0c4])
└ @ Main none:1
$ ./julia -e 'using Logging' -e '@warn "beep" exception=(ErrorException("foo"), backtrace())'
┌ Warning: beep
│ exception =
│ foo
│ Stacktrace:
│ [1] macro expansion
│ @ logging.jl:377 [inlined]
│ [2] top-level scope
│ @ none:386
│ [3] eval
│ @ ./boot.jl:428 [inlined]
│ [4] exec_options(opts::Base.JLOptions)
│ @ Base ./client.jl:291
│ [5] _start()
│ @ Base ./client.jl:525
└ @ Main none:1
from julia.
Ah,
julia/stdlib/Logging/src/Logging.jl
Lines 142 to 144 in ba34d89
So, move ConsoleLogger to Base? What's the point of the Logging stdlib anyway?
from julia.
from julia.
Related Issues (20)
- Crash: protect_page: Permission denied HOT 1
- exiting process from REPL shell can cause segfault HOT 1
- 2.0: Make `propertynames(x)` return `()` by default
- Running `code_typed` changes result of `code_llvm` HOT 4
- jl_static_show is not safe to be called from within the GC HOT 2
- ERROR: Failed to precompile Pluto on Julia Nightly version 1.12.0-DEV
- lowering incorrectly recurses through Expr(:toplevel)
- Codegen emits a specsig call in multiple places which bitrots easily
- `fatal: error thrown` (TypeError from `typeassert`) & subsequent crash on `yield(current_task())` HOT 2
- Clarify expecations for valid `Val` parameters HOT 5
- `Base.literal_pow` undesired floating-point conversion for base of `±1`? HOT 4
- Function definitions are possible in for-loop header HOT 4
- Day(1) < Month(1) gives error
- `power_by_squaring(::Float16, ::Integer)` involves unnecessary conversion to `Float64`
- ccall(:foo) doesn't pick up LD_PRELOAD overrides HOT 10
- specialize on exact Vararg number for all calls that are not via `_apply`?
- ERROR: LoadError: type CodeInfo has no field linetable HOT 1
- Segfault when using improperly defined struct HOT 6
- Regression on number of allocations in GC micro-benchmark HOT 3
- ~10% memory regression in inference benchmarks due to 'ir: Fix incorrect renaming of phinode values (#52614)'
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 julia.