[bitbake-devel] [PATCH] bitbake: remove stack trace depth limitation

Bogdan Marinescu bogdan.a.marinescu at intel.com
Tue Apr 23 13:43:45 UTC 2013


In case of an error in bitbake, the stack trace is limited to 5
items. This is an endless source of confusion and it makes bugs
reports impractical, since a full stack trace can't be included
in the bug report. This patch simply removes the depth limit.

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu at intel.com>
---
 bitbake/bin/bitbake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 96d613e..e8064ec 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -276,6 +276,6 @@ if __name__ == "__main__":
     except Exception:
         ret = 1
         import traceback
-        traceback.print_exc(5)
+        traceback.print_exc()
     sys.exit(ret)
 
-- 
1.7.10.4





More information about the bitbake-devel mailing list