i'm not sure where in Gallium/ASTInterpreter this fails
Scenario: single stepping through a Gadfly function
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.0-dev+4096 (2016-05-15 02:07 UTC)
_/ |\__'_|_|_|\__'_| | Commit 6056e10* (0 days old master)
|__/ | x86_64-linux-gnu
julia> using Gallium
julia> using Gadfly
julia> breakpoint(render)
WARNING: Base.ASCIIString is deprecated, use String instead.
likely near no file:0
in render at /home/lobi/.julia/v0.5/Gadfly/src/geom/point.jl
Locations (+: active, -: inactive, *: source):
+ render(geom::Gadfly.Geom.PolygonGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/polygon.jl:40
+ render(guide::Gadfly.Guide.XTicks, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:573
+ render(geom::Gadfly.Geom.SubplotGrid, theme::Gadfly.Theme, superplot_aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geom/subplot.jl:146
+ render(guide::Gadfly.Guide.ColorKey, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:404
+ render(geom::Gadfly.Geom.RectangularBinGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/rectbin.jl:51
+ render(geom::Gadfly.Geom.YErrorBarGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/errorbar.jl:70
+ render(geom::Gadfly.Geom.XErrorBarGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/errorbar.jl:105
+ render(geom::Gadfly.Geom.RibbonGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/ribbon.jl:26
+ render(guide::Gadfly.Guide.XLabel, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:921
+ render(guide::Gadfly.Guide.YLabel, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:985
+ render(guide::Gadfly.Guide.Title, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:1038
+ render(geom::Gadfly.Geom.HexagonalBinGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/hexbin.jl:34
+ render(guide::Gadfly.Guide.YTicks, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:754
+ render(geom::Gadfly.Geom.BoxplotGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/boxplot.jl:21
+ render(geom::Gadfly.Geom.ViolinGeometry, theme::Gadfly.Theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/violin.jl:22
+ render(plot::Gadfly.Plot) at /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:799
+ render(geom::Gadfly.Geom.PointGeometry, theme::Gadfly.Theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/point.jl:31
+ render(geom::Gadfly.Geom.HLineGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/hline.jl:25
+ render(geom::Gadfly.Geom.VLineGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/vline.jl:24
+ render(geom::Gadfly.Geom.ErrorBarGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/errorbar.jl:56
+ render(guide::Gadfly.Guide.ZoomSlider, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:76
+ render(guide::Gadfly.Guide.PanelBackground, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:55
+ render(geom::Gadfly.Geom.LineGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/line.jl:72
+ render(geom::Gadfly.Geom.LabelGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/label.jl:272
+ render(geom::Gadfly.Geom.BarGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics) at /home/lobi/.julia/v0.5/Gadfly/src/geom/bar.jl:273
+ render(geom::Gadfly.Geom.PolygonGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.RibbonGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.ErrorBarGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.BoxplotGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.LineGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.RectangularBinGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.ViolinGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.HLineGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.VLineGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.LabelGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.HexagonalBinGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.BarGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(geom::Gadfly.Geom.PointGeometry, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, subplot_layer_aess::Array{Gadfly.Aesthetics,1}, subplot_layer_datas::Array{Gadfly.Data,1}, scales::Dict{Symbol,Gadfly.ScaleElement}) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
+ render(guide::Gadfly.Guide.XLabel, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:50
+ render(guide::Gadfly.Guide.ColorKey, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:50
+ render(guide::Gadfly.Guide.YLabel, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Ga + render(guide::Gadfly.Guide.ZoomSlider, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:50
+ render(guide::Gadfly.Guide.PanelBackground, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:50
* Any matching method added to Gadfly.#render
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/polygon.jl:40
* Any matching specialization of render(guide, theme, aes, dynamic) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:573
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:573
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:1067
* Any matching specialization of render(geom, theme, superplot_aes, subplot_layer_aess, subplot_layer_datas, scales) at /home/lobi/.julia/v0.5/Gadfly/src/geom/subplot.jl:146
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:1089
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:404
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/rectbin.jl:51
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/errorbar.jl:70
* Any matching specialization of render(geom, theme, aes, data, scales, subplot_layer_aess) at null:0
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:1228
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/errorbar.jl:105
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/ribbon.jl:26
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:921
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:985
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:1038
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/hexbin.jl:34
* Any matching specialization of render(guide, theme, aes, dynamic) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:754
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:754
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/beeswarm.jl:26
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/boxplot.jl:21
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/violin.jl:22
* Any matching specialization of render(plot) at /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:799
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/point.jl:31
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/hline.jl:25
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/vline.jl:24
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/errorbar.jl:56
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:76
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:55
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/line.jl:72
dfly/src/guide.jl:50
+ render(guide::Gadfly.Guide.Title, theme::Gadfly.Theme, aes::Gadfly.Aesthetics, dynamic::Bool) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:50
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/label.jl:272
* Any matching specialization of render(geom, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/geom/bar.jl:273
* Any matching specialization of render(geom, theme, aes, subplot_layer_aess, subplot_layer_datas, scales) at /home/lobi/.julia/v0.5/Gadfly/src/geometry.jl:48
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:506
* Any matching specialization of render(guide, theme, aes) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:50
* Any matching specialization of render(guide, theme, aes, dynamic) at /home/lobi/.julia/v0.5/Gadfly/src/guide.jl:50
julia> plot(x=randn(10),y=randn(10),Geom.histogram2d)
WARNING: Base.ASCIIString is deprecated, use String instead.
likely near no file:0
WARNING: Base.ASCIIString is deprecated, use String instead.
likely near no file:0
WARNING: Base.ASCIIString is deprecated, use String instead.
likely near no file:0
WARNING: Base.ASCIIString is deprecated, use String instead.
likely near no file:0
WARNING: Base.ASCIIString is deprecated, use String instead.
likely near no file:0
WARNING: Base.ASCIIString is deprecated, use String instead.
likely near no file:0
WARNING: Base.UTF8String is deprecated, use String instead.
likely near no file:0
WARNING: Base.UTF8String is deprecated, use String instead.
likely near no file:0
WARNING: Base.UTF8String is deprecated, use String instead.
likely near no file:0
WARNING: Base.UTF8String is deprecated, use String instead.
likely near no file:0
WARNING: Base.UTF8String is deprecated, use String instead.
likely near no file:0
In /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:799
798 function render(plot::Plot)
799 (plot, coord, plot_aes,
800 layer_aess, layer_stats, layer_subplot_aess, layer_subplot_datas,
801 scales, guides) = render_prepare(plot)
About to run: Gadfly.render_prepare
1|debug > s
In /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:427
426 function render_prepare(plot::Plot)
427 if isempty(plot.layers)
428 layer = Layer()
429 layer.geom = Geom.point()
About to run: Core.Box
1|debug > s
In boot.jl:235
234 Box(x::ANY) = new(x)
235 Box() = new()
236 end
237
About to run: Core.Box
1|debug > s
In boot.jl:235
234 Box(x::ANY) = new(x)
235 Box() = new()
236 end
237
About to run: ^[[Areturn
Core.Box(#undef)
1|debug > s
In /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:427
426 function render_prepare(plot::Plot)
427 if isempty(plot.layers)
428 layer = Layer()
429 layer.geom = Geom.point()
About to run: (Core.Box)()
1|debug > s
In boot.jl:235
234 Box(x::ANY) = new(x)
235 Box() = new()
236 end
237
About to run: Core.Box
1|debug >
In boot.jl:235
234 Box(x::ANY) = new(x)
235 Box() = new()
236 end
237
About to run: return Core.Box(#undef)
1|debug >
In /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:427
426 function render_prepare(plot::Plot)
427 if isempty(plot.layers)
428 layer = Layer()
429 layer.geom = Geom.point()
About to run: (Core.Box)()
1|debug >
In boot.jl:235
234 Box(x::ANY) = new(x)
235 Box() = new()
236 end
237
About to run: Core.Box
1|debug >
In boot.jl:235
234 Box(x::ANY) = new(x)
235 Box() = new()
236 end
237
About to run: return Core.Box(#undef)
1|debug >
In /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:427
426 function render_prepare(plot::Plot)
427 if isempty(plot.layers)
428 layer = Layer()
429 layer.geom = Geom.point()
About to run: (getfield)(Gadfly.Plot([Gadfly.Layer(nothing,Dict{Any,Any}(),Gadfly.StatisticElement[],Gadfly.Geom.RectangularBinGeometry(Gadfly.Stat.Histogram2DStatistic(3,150,3,150),Symbol("")),nothing,0)],nothing,Data(
x=[2.156048746729853,0.043781013542880325,0.3000119308712364,-0.09828362367914963,-0.3033370912755028,-2.196892224265205,0.23457302204862754,-0.967823125791486,1.5642695912345441,-0.057579632614796324]
y=[0.11217122028073197,1.0212474395300306,-0.3377752295435214,-0.8836106308920646,-1.862793427218974,-0.724814180649498,0.7963097239474038,-1.084543529842187,0.9161830329709968,-0.7611091777582755]
titles=Dict{Symbol,AbstractString}(Pair{Symbol,AbstractString}(:y,"y"),Pair{Symbol,AbstractString}(:x,"x"))
)
,Gadfly.ScaleElement[],Gadfly.StatisticElement[],nothing,Gadfly.GuideElement[],Gadfly.Theme(LCHab{Float32}(70.0f0,60.0f0,240.0f0),0.9mm,0.3mm,nothing,nothing,nothing,1.0,nothing,5.0mm,RGB{U8}(0.816,0.816,0.878),[0.5mm,0.5mm],RGB{U8}(0.627,0.627,0.627),0.2mm,"'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif",2.822222222222222mm,RGB{U8}(0.424,0.376,0.42),"'PT Sans','Helvetica Neue','Helvetica',sans-serif",3.880555555555555mm,RGB{U8}(0.337,0.29,0.333),"'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif",2.822222222222222mm,RGB{U8}(0.298,0.251,0.294),"'PT Sans','Helvetica Neue','Helvetica',sans-serif",3.880555555555555mm,RGB{U8}(0.212,0.165,0.208),"'PT Sans','Helvetica Neue','Helvetica',sans-serif",2.822222222222222mm,RGB{U8}(0.298,0.251,0.294),40,-0.05mm,1.0mm,3.0mm,Gadfly.default_stroke_color,0.3mm,Gadfly.default_discrete_highlight_color,Gadfly.default_continuous_highlight_color,Gadfly.default_lowlight_color,0.6,Gadfly.default_middle_color,0.6mm,:left,:square,:right,nothing,Function[Compose.circle,Gadfly.square,Gadfly.diamond,Gadfly.cross,Gadfly.xcross,Gadfly.utriangle,Gadfly.dtriangle,Gadfly.star1,Gadfly.star2,Gadfly.hexagon,Gadfly.octagon],2.0mm,1000,10.0,0.5,0.2,4),Dict{Symbol,Any}(Pair{Symbol,Any}(:y,[0.11217122028073197,1.0212474395300306,-0.3377752295435214,-0.8836106308920646,-1.862793427218974,-0.724814180649498,0.7963097239474038,-1.084543529842187,0.9161830329709968,-0.7611091777582755]),Pair{Symbol,Any}(:x,[2.156048746729853,0.043781013542880325,0.3000119308712364,-0.09828362367914963,-0.3033370912755028,-2.196892224265205,0.23457302204862754,-0.967823125791486,1.5642695912345441,-0.057579632614796324]))),layers)
1|debug >
In abstractarray.jl:377
376
377 isempty(a::AbstractArray) = (length(a) == 0)
378
379 ## Conversions ##
About to run: Base.==
1|debug >
In array.jl:23
22
23 length(a::Array) = arraylen(a)
24 elsize{T}(a::Array{T}) = isbits(T) ? sizeof(T) : sizeof(Ptr)
25 sizeof(a::Array) = elsize(a) * length(a)
About to run: Base.arraylen
1|debug >
In array.jl:23
22
23 length(a::Array) = arraylen(a)
24 elsize{T}(a::Array{T}) = isbits(T) ? sizeof(T) : sizeof(Ptr)
25 sizeof(a::Array) = elsize(a) * length(a)
About to run: return 1
1|debug >
In abstractarray.jl:377
376
377 isempty(a::AbstractArray) = (length(a) == 0)
378
379 ## Conversions ##
About to run: (==)(1,0)
1|debug >
In promotion.jl:248
247
248 =={T<:Number}(x::T, y::T) = x === y
249 <{T<:Real}(x::T, y::T) = no_op_err("<" , T)
250 <={T<:Real}(x::T, y::T) = no_op_err("<=", T)
About to run: Base.===
1|debug >
In promotion.jl:248
247
248 =={T<:Number}(x::T, y::T) = x === y
249 <{T<:Real}(x::T, y::T) = no_op_err("<" , T)
250 <={T<:Real}(x::T, y::T) = no_op_err("<=", T)
About to run: return false
1|debug >
In abstractarray.jl:377
376
377 isempty(a::AbstractArray) = (length(a) == 0)
378
379 ## Conversions ##
About to run: return false
1|debug >
In /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:427
432
433 # TODO: When subplots are given in multiple layers, we should rearrange,
434 # putting the layers in one subplot instead.
435 if sum([isa(layer.geom, Geom.SubplotGeometry) for layer in plot.layers]) > 1
436 error("""
437 Subplot geometries can not be used in multiple layers. Instead
About to run: (getfield)(Gadfly.Plot([Gadfly.Layer(nothing,Dict{Any,Any}(),Gadfly.StatisticElement[],Gadfly.Geom.RectangularBinGeometry(Gadfly.Stat.Histogram2DStatistic(3,150,3,150),Symbol("")),nothing,0)],nothing,Data(
x=[2.156048746729853,0.043781013542880325,0.3000119308712364,-0.09828362367914963,-0.3033370912755028,-2.196892224265205,0.23457302204862754,-0.967823125791486,1.5642695912345441,-0.057579632614796324]
y=[0.11217122028073197,1.0212474395300306,-0.3377752295435214,-0.8836106308920646,-1.862793427218974,-0.724814180649498,0.7963097239474038,-1.084543529842187,0.9161830329709968,-0.7611091777582755]
titles=Dict{Symbol,AbstractString}(Pair{Symbol,AbstractString}(:y,"y"),Pair{Symbol,AbstractString}(:x,"x"))
)
,Gadfly.ScaleElement[],Gadfly.StatisticElement[],nothing,Gadfly.GuideElement[],Gadfly.Theme(LCHab{Float32}(70.0f0,60.0f0,240.0f0),0.9mm,0.3mm,nothing,nothing,nothing,1.0,nothing,5.0mm,RGB{U8}(0.816,0.816,0.878),[0.5mm,0.5mm],RGB{U8}(0.627,0.627,0.627),0.2mm,"'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif",2.822222222222222mm,RGB{U8}(0.424,0.376,0.42),"'PT Sans','Helvetica Neue','Helvetica',sans-serif",3.880555555555555mm,RGB{U8}(0.337,0.29,0.333),"'PT Sans Caption','Helvetica Neue','Helvetica',sans-serif",2.822222222222222mm,RGB{U8}(0.298,0.251,0.294),"'PT Sans','Helvetica Neue','Helvetica',sans-serif",3.880555555555555mm,RGB{U8}(0.212,0.165,0.208),"'PT Sans','Helvetica Neue','Helvetica',sans-serif",2.822222222222222mm,RGB{U8}(0.298,0.251,0.294),40,-0.05mm,1.0mm,3.0mm,Gadfly.default_stroke_color,0.3mm,Gadfly.default_discrete_highlight_color,Gadfly.default_continuous_highlight_color,Gadfly.default_lowlight_color,0.6,Gadfly.default_middle_color,0.6mm,:left,:square,:right,nothing,Function[Compose.circle,Gadfly.square,Gadfly.diamond,Gadfly.cross,Gadfly.xcross,Gadfly.utriangle,Gadfly.dtriangle,Gadfly.star1,Gadfly.star2,Gadfly.hexagon,Gadfly.octagon],2.0mm,1000,10.0,0.5,0.2,4),Dict{Symbol,Any}(Pair{Symbol,Any}(:y,[0.11217122028073197,1.0212474395300306,-0.3377752295435214,-0.8836106308920646,-1.862793427218974,-0.724814180649498,0.7963097239474038,-1.084543529842187,0.9161830329709968,-0.7611091777582755]),Pair{Symbol,Any}(:x,[2.156048746729853,0.043781013542880325,0.3000119308712364,-0.09828362367914963,-0.3033370912755028,-2.196892224265205,0.23457302204862754,-0.967823125791486,1.5642695912345441,-0.057579632614796324]))),layers)
1|debug >
In array.jl:23
22
23 length(a::Array) = arraylen(a)
24 elsize{T}(a::Array{T}) = isbits(T) ? sizeof(T) : sizeof(Ptr)
25 sizeof(a::Array) = elsize(a) * length(a)
About to run: Base.arraylen
1|debug >
In array.jl:23
22
23 length(a::Array) = arraylen(a)
24 elsize{T}(a::Array{T}) = isbits(T) ? sizeof(T) : sizeof(Ptr)
25 sizeof(a::Array) = elsize(a) * length(a)
About to run: return 1
1|debug >
In /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:427
432
433 # TODO: When subplots are given in multiple layers, we should rearrange,
434 # putting the layers in one subplot instead.
435 if sum([isa(layer.geom, Geom.SubplotGeometry) for layer in plot.layers]) > 1
436 error("""
437 Subplot geometries can not be used in multiple layers. Instead
About to run: (Array{T,N})(Any,1)
1|debug >
In boot.jl:319
318 Array{T}(::Type{T}, d::Int...) = Array{T}(d)
319 Array{T}(::Type{T}, m::Int) = Array{T,1}(m)
320 Array{T}(::Type{T}, m::Int,n::Int) = Array{T,2}(m,n)
321 Array{T}(::Type{T}, m::Int,n::Int,o::Int) = Array{T,3}(m,n,o)
About to run: Core.apply_type
1|debug >
In boot.jl:301
300 ccall(:jl_new_array, Array{T,N}, (Any,Any), Array{T,N}, d)
301 (::Type{Array{T,1}}){T}(m::Int) =
302 ccall(:jl_alloc_array_1d, Array{T,1}, (Any,Int), Array{T,1}, m)
303 (::Type{Array{T,2}}){T}(m::Int, n::Int) =
About to run: Core.cconvert
1|debug >
In boot.jl:293
292 convert{T}(::Type{T}, x::T) = x
293 cconvert{T}(::Type{T}, x) = convert(T, x)
294 unsafe_convert{T}(::Type{T}, x::T) = x
295
About to run: Core.convert
1|debug >
In boot.jl:292
291 convert(::Type{Any}, x::ANY) = x
292 convert{T}(::Type{T}, x::T) = x
293 cconvert{T}(::Type{T}, x) = convert(T, x)
294 unsafe_convert{T}(::Type{T}, x::T) = x
About to run: x
1|debug >
In boot.jl:292
291 convert(::Type{Any}, x::ANY) = x
292 convert{T}(::Type{T}, x::T) = x
293 cconvert{T}(::Type{T}, x) = convert(T, x)
294 unsafe_convert{T}(::Type{T}, x::T) = x
About to run: return 1
1|debug >
In boot.jl:293
292 convert{T}(::Type{T}, x::T) = x
293 cconvert{T}(::Type{T}, x) = convert(T, x)
294 unsafe_convert{T}(::Type{T}, x::T) = x
295
About to run: return 1
1|debug >
In boot.jl:301
300 ccall(:jl_new_array, Array{T,N}, (Any,Any), Array{T,N}, d)
301 (::Type{Array{T,1}}){T}(m::Int) =
302 ccall(:jl_alloc_array_1d, Array{T,1}, (Any,Int), Array{T,1}, m)
303 (::Type{Array{T,2}}){T}(m::Int, n::Int) =
About to run: (Core.apply_type)(Array{T,N},Any,1)
1|debug >
In boot.jl:294
293 cconvert{T}(::Type{T}, x) = convert(T, x)
294 unsafe_convert{T}(::Type{T}, x::T) = x
295
296 typealias NTuple{N,T} Tuple{Vararg{T,N}}
About to run: x
1|debug >
In boot.jl:294
293 cconvert{T}(::Type{T}, x) = convert(T, x)
294 unsafe_convert{T}(::Type{T}, x::T) = x
295
296 typealias NTuple{N,T} Tuple{Vararg{T,N}}
About to run: return 1
1|debug >
In boot.jl:301
300 ccall(:jl_new_array, Array{T,N}, (Any,Any), Array{T,N}, d)
301 (::Type{Array{T,1}}){T}(m::Int) =
302 ccall(:jl_alloc_array_1d, Array{T,1}, (Any,Int), Array{T,1}, m)
303 (::Type{Array{T,2}}){T}(m::Int, n::Int) =
About to run: ((intrinsic function #88))(jl_alloc_array_1d,Array{Any,1},svec(Any,Int64),Array{Any,1},0,1,1)
1|debug >
In boot.jl:301
300 ccall(:jl_new_array, Array{T,N}, (Any,Any), Array{T,N}, d)
301 (::Type{Array{T,1}}){T}(m::Int) =
302 ccall(:jl_alloc_array_1d, Array{T,1}, (Any,Int), Array{T,1}, m)
303 (::Type{Array{T,2}}){T}(m::Int, n::Int) =
Error showing value of type Gadfly.Plot:
ERROR: UndefRefError: access to undefined reference
in astcopy(::Array{Any,1}) at ./expr.jl:32 (repeats 2 times)
in copy(::Expr) at ./expr.jl:25
in #print_status#14(::Bool, ::Function, ::ASTInterpreter.Interpreter, ::Array{Any,1}) at /home/lobi/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:280
in (::ASTInterpreter.##59#65{ASTInterpreter.Interpreter,ASTInterpreter.InterpreterState,Base.LineEdit.Prompt,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at /home/lobi/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1440
in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1570
[inlined code] from ./LineEdit.jl:18
in RunDebugREPL(::ASTInterpreter.Interpreter) at /home/lobi/.julia/v0.5/ASTInterpreter/src/ASTInterpreter.jl:1501
[inlined code] from ./promotion.jl:248
in (::Gallium.##78#80)(::Gadfly.Plot) at ./<no file>:4294967295
[inlined code] from /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:913
in display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::MIME{Symbol("text/html")}, ::Gadfly.Plot) at /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:1061
[inlined code] from ./essentials.jl:82
in display(::Gadfly.Plot) at /home/lobi/.julia/v0.5/Gadfly/src/Gadfly.jl:1013
in print_response(::Base.Terminals.TTYTerminal, ::Any, ::Void, ::Bool, ::Bool, ::Void) at ./REPL.jl:134
in print_response(::Base.REPL.LineEditREPL, ::Any, ::Void, ::Bool, ::Bool) at ./REPL.jl:121
in (::Base.REPL.##18#19{Bool,Base.REPL.##29#38{Base.REPL.LineEditREPL,Base.REPL.REPLHistoryProvider},Base.REPL.LineEditREPL,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.AbstractIOBuffer{Array{UInt8,1}}, ::Bool) at ./REPL.jl:630
in run_interface(::Base.Terminals.TTYTerminal, ::Base.LineEdit.ModalInterface) at ./LineEdit.jl:1570
in run_frontend(::Base.REPL.LineEditREPL, ::Base.REPL.REPLBackendRef) at ./REPL.jl:881
in run_repl(::Base.REPL.LineEditREPL, ::Function) at ./REPL.jl:166
in _start() at ./client.jl:361
i'm not sure where in Gallium/ASTInterpreter this fails
Scenario: single stepping through a Gadfly function