You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
i am clueless about the followign error. i set 2 breakpoints:
bp = Gallium.breakpoint(bk.cash_stay!)
bp2 = Gallium.breakpoint(bk.saveprob)
when i run the program, it stops at the first breakpoint. however, it exits from that function and does not stop at the second breakpoint, instead (I think) it says
<No file found. Did DWARF parsing fail?>
both functions are called on after the other in the running program:
julia> Gallium.list_breakpoints()
[1] Locations (+: active, -: inactive, *: source):* Any matching method added to bk.#cash_stay!* Any matching specialization of cash_stay!(cash, u, ia, ip, ih, iL, im, y, age, m, p) at /Users/florian.oswald/git/bk/bk.jl/src/solver.jl:697
[2] Locations (+: active, -: inactive, *: source):* Any matching method added to bk.#saveprob* Any matching specialization of saveprob(u, EV, p) at /Users/florian.oswald/git/bk/bk.jl/src/solver.jl:765
what's wrong here?
The text was updated successfully, but these errors were encountered:
It happens in a rather large code base that I can't share with you I'm afraid, so that's a problem. I did note however, from reading in another issue, that I have to say @noinline in front of short functions, like saveprob is, for example. with that modification and only setting bp2 = Gallium.breakpoint(bk.saveprob) (not the other breakpoint), I'm at least able to stop inside that function.
It's my impression that large code bases are harder to manage for the debugger, which is kind of intuitive if it has to analyse a more complex tree. not sure that is true anyway. it does make it harder to provide reproducible examples though. any suggestions, I'm happy to help.
Well, it's no secret that the breakpointing bits of Gallium are a little fragile (the @enter stuff is pretty solid though). For good reason of course, and it'll get better with time but that's the current state. julia -O0 --inline=no helps work around some of these issues, but not all of them.
i am clueless about the followign error. i set 2 breakpoints:
when i run the program, it stops at the first breakpoint. however, it exits from that function and does not stop at the second breakpoint, instead (I think) it says
both functions are called on after the other in the running program:
what's wrong here?
The text was updated successfully, but these errors were encountered: