JuliaDebug / Gallium.jl

The Julia debugger
Other
174 stars 23 forks source link

Error when setting breakpoint #129

Closed malmaud closed 8 years ago

malmaud commented 8 years ago

I don't have a minimal example yet or an idea of what part of my code is necessary to share, but for now I'll just dump this here:

julia> breakpoint(parse, (JMain.Sentences.Sentence, String))
ERROR: AssertionError: llvmf != C_NULL
 in get_function_addr(::Type{T}) at /Users/malmaud/.julia/v0.5/Gallium/src/Hooking/Hooking.jl:438
 in _breakpoint_concrete at /Users/malmaud/.julia/v0.5/Gallium/src/Gallium.jl:802 [inlined]
 in breakpoint(::Function, ::Tuple{DataType,DataType}) at /Users/malmaud/.julia/v0.5/Gallium/src/Gallium.jl:811
 in eval(::Module, ::Any) at ./boot.jl:231
 in macro expansion at ./REPL.jl:92 [inlined]
 in (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:46
Keno commented 8 years ago

Are you sure you have a matching method? Did you mean

breakpoint(parse, (Type{JMain.Sentences.Sentence}, String))

Admittedly not the best error message ;)

malmaud commented 8 years ago

Oh woops, thanks.