summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt12
-rw-r--r--src/engine/SCons/Debug.py11
2 files changed, 18 insertions, 5 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index 02afa43..23fd49b 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -4,17 +4,20 @@
Change Log
+
RELEASE VERSION/DATE TO BE FILLED IN LATER
From John Doe:
-
- Whatever John Doe did.
+ From Anatoly Techtonik:
+ - Document SCons.Debug.caller_trace() behavior.
+
RELEASE 2.4.1 - Mon, 07 Nov 2015 10:37:21 -0700
From Arfrever Frehtes Taifersar Arahesis:
- - Fix for Bug # 2791 - Setup.py fails unnecessarily under Jython.
+ - Fix for Bug # 2791 - setup.py fails unnecessarily under Jython.
From Dirk Baechle:
- Fixed license of SVG titlepage files in the context of Debian
@@ -73,7 +76,6 @@ RELEASE 2.4.1 - Mon, 07 Nov 2015 10:37:21 -0700
- Fix to swig tool - respect env['SWIG'] provided by user.
-
RELEASE 2.4.0 - Mon, 21 Sep 2015 08:56:00 -0700
From Dirk Baechle:
@@ -86,6 +88,8 @@ RELEASE 2.4.0 - Mon, 21 Sep 2015 08:56:00 -0700
From Andrew Featherstone
- Fixed typo in SWIGPATH description
+
+
RELEASE 2.3.6 - Mon, 31 Jul 2015 14:35:03 -0700
From Rob Smith:
@@ -379,6 +383,8 @@ RELEASE 2.3.0 - Mon, 02 Mar 2013 13:22:29 -0400
Add builder InstallVersionedLib to create the required symlinks
installing a versioned shared library.
+
+
RELEASE 2.2.0 - Mon, 05 Aug 2012 15:37:48 +0000
From dubcanada on Bitbucket:
diff --git a/src/engine/SCons/Debug.py b/src/engine/SCons/Debug.py
index b47c24c..9e520ff 100644
--- a/src/engine/SCons/Debug.py
+++ b/src/engine/SCons/Debug.py
@@ -1,7 +1,10 @@
"""SCons.Debug
Code for debugging SCons internal things. Shouldn't be
-needed by most users.
+needed by most users. Quick shortcuts:
+
+from SCons.Debug import caller_trace
+caller_trace()
"""
@@ -137,8 +140,12 @@ def caller_stack():
caller_bases = {}
caller_dicts = {}
-# trace a caller's stack
def caller_trace(back=0):
+ """
+ Trace caller stack and save info into global dicts, which
+ are printed automatically at the end of SCons execution.
+ """
+ global caller_bases, caller_dicts
import traceback
tb = traceback.extract_stack(limit=3+back)
tb.reverse()