]> _ Git - alire.git/commit
Debug dump stack trace on Outcome_Failure
authorAlejandro R. Mosteo <amosteo@unizar.es>
Sat, 28 Dec 2019 12:27:48 +0000 (13:27 +0100)
committerAlejandro R. Mosteo <amosteo@unizar.es>
Fri, 3 Jan 2020 18:39:00 +0000 (19:39 +0100)
commit1ba147072ca71567cac8f64981b4047b5230bd02
tree580ccaae1db06d737012c1c26089ec5367e1090c
parent5920e5ccc214aa4ec986559a8ef5f87cbd8700e5
Debug dump stack trace on Outcome_Failure

When returning an Outcome_Failure, the call context is lost which
may be inconvenient for further debugging. With this patch, the
call stack is dumped at debug level (and optionally to stderr if
-d is in effect).

Simplified a test in Alire.Features.Index that created a spurious
Outcome_Failure.
deps/aaa
src/alire/alire-features-index.adb
src/alire/alire.adb
src/alire/alire.ads