Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Unexpected and inconsistent results (errors) for break if error #171

Open
dolejm1 opened this issue Nov 3, 2016 · 0 comments
Open

Unexpected and inconsistent results (errors) for break if error #171

dolejm1 opened this issue Nov 3, 2016 · 0 comments

Comments

@dolejm1
Copy link

dolejm1 commented Nov 3, 2016

I defined breakpoint_on_error() but after calling 1=2 no breakpoint is triggered.
after redefinition of the break point and calling 1=2 gallium error occurs, but another call of 1=2 closes the circle, nothing happen.

julia> BPE
Gallium.Hooking.Hook(Ptr{Void} @0x0000000064f34600,UInt8[0x55,0x53,0x48,0x83,0xec,0x28,0x48,0x8d,0xac,0x24,0x80,0x00,0x00,0x00],
Gallium.breakpoint_on_error_hit)

julia> 1=2
ERROR: syntax: invalid assignment location "1"

julia> BPE = Gallium.breakpoint_on_error()
Gallium.Hooking.Hook(Ptr{Void} @0x0000000064f34600,UInt8[0x55,0x53,0x48,0x83,0xec,0x28,0x48,0x8d,0xac,0x24,0x80,0x00,0x00,0x00],
Gallium.breakpoint_on_error_hit)

julia> 1=2
ERROR: MethodError: no method matching start(::Gallium.NativeStack)
Closest candidates are:
start(::SimpleVector) at essentials.jl:170
start(::Base.MethodList) at reflection.jl:258
start(::IntSet) at intset.jl:184
...
in collect(::Base.Generator{Gallium.NativeStack,Gallium.##104#108}) at .\array.jl:303
in breakpoint_on_error_hit(::Gallium.Hooking.Hook, ::Gallium.X86_64.ExtendedRegs) at C:\Users\dolejm1.julia\v0.5\Gallium\src\G
allium.jl:947
in _callback(::Ptr{Void}) at C:\Users\dolejm1.julia\v0.5\Gallium\src\Hooking\Hooking.jl:289
in callback(::Ptr{Void}) at C:\Users\dolejm1.julia\v0.5\Gallium\src\Hooking\Hooking.jl:326

julia> 1=2
ERROR: syntax: invalid assignment location "1"

julia> BPE
Gallium.Hooking.Hook(Ptr{Void} @0x0000000064f34600,UInt8[0x55,0x53,0x48,0x83,0xec,0x28,0x48,0x8d,0xac,0x24,0x80,0x00,0x00,0x00],
Gallium.breakpoint_on_error_hit)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant