From 46b124a649d652ef88110478db53cc2b7d69069b Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 5 Mar 2012 17:47:44 -0600 Subject: Added some DEBUG statements --- src/xact.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/xact.cc') diff --git a/src/xact.cc b/src/xact.cc index f05c6069..7dbf097d 100644 --- a/src/xact.cc +++ b/src/xact.cc @@ -274,6 +274,8 @@ bool xact_base_t::finalize() if (post->amount.has_annotation() && post->amount.annotation().price) { if (breakdown.basis_cost.commodity() == breakdown.final_cost.commodity()) { + DEBUG("xact.finalize", "breakdown.basis_cost = " << breakdown.basis_cost); + DEBUG("xact.finalize", "breakdown.final_cost = " << breakdown.final_cost); if (amount_t gain_loss = breakdown.basis_cost - breakdown.final_cost) { DEBUG("xact.finalize", "gain_loss = " << gain_loss); gain_loss.in_place_round(); -- cgit v1.2.3