<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Debugging</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>Recent changes to Debugging</description><atom:link href="https://sourceforge.net/p/mathmaker/doc4dev/Debugging/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 04 Feb 2014 20:08:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mathmaker/doc4dev/Debugging/feed" rel="self" type="application/rss+xml"/><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -17,4 +17,4 @@
 Here's a memo :

-[[img src=all_dbg_str__1.1.png alt="dbg_str() output formats"]]
+[[img src=dbg_all.png alt="dbg_str() output formats"]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Tue, 04 Feb 2014 20:08:31 -0000</pubDate><guid>https://sourceforge.netcb41fdfd21828f73f2af1824ced4bfb4946abb2e</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,7 +1,7 @@
 All debugging features are implemented in the script maintenance/debug.py

 Turn ENABLED to True in debug.py will let mathmaker write debugging informations to stderr.
-You will have also to choose which method(s) will display this information. Just set the matching boolean in debug.py to True.
+You will also have to choose which method(s) of the programm will you want to display these informations. Just set the matching boolean in debug.py to True.

 You can add other debugging points just using the debug.write() method. Try to put not too much of them everywhere...

@@ -14,5 +14,7 @@

 The dbg_str() method is provided to all objects that we want to display debugging information. To help the understanding of imbricated objects, each object has specific debugging identifiers.

+Here's a memo :
+

 [[img src=all_dbg_str__1.1.png alt="dbg_str() output formats"]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Sun, 02 Feb 2014 08:59:29 -0000</pubDate><guid>https://sourceforge.nete4e6c518634dbad44c9f1a2c4245e61a30584796</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -10,7 +10,7 @@
     debug.write("\n[get_factors_list] current Product is : " + self.dbg_str() + "\n",
                 case=debug.get_factors_list_product)

-Will write the message only if debug.get_factors_list_product is set to True.
+will write the message only if debug.get_factors_list_product is set to True.

 The dbg_str() method is provided to all objects that we want to display debugging information. To help the understanding of imbricated objects, each object has specific debugging identifiers.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Fri, 31 Jan 2014 21:49:58 -0000</pubDate><guid>https://sourceforge.net5788dba4c1dd2d0aaaac90395d4072f828bd0483</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -15,4 +15,4 @@
 The dbg_str() method is provided to all objects that we want to display debugging information. To help the understanding of imbricated objects, each object has specific debugging identifiers.

-img src=all_dbg_str__1.0.png alt="dbg_str() output formats"
+[[img src=all_dbg_str__1.1.png alt="dbg_str() output formats"]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Fri, 31 Jan 2014 21:48:31 -0000</pubDate><guid>https://sourceforge.netf4300a24510938b0265836b5e042e32f67245dd6</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -15,4 +15,4 @@
 The dbg_str() method is provided to all objects that we want to display debugging information. To help the understanding of imbricated objects, each object has specific debugging identifiers.

-[[img src=all_dbg_str__1.0.png alt="dbg_str() output formats"]]
+img src=all_dbg_str__1.0.png alt="dbg_str() output formats"
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Fri, 31 Jan 2014 21:46:30 -0000</pubDate><guid>https://sourceforge.net662179a664744eff2504df6f100524e0018770d1</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Fri, 31 Jan 2014 21:45:31 -0000</pubDate><guid>https://sourceforge.netd0e853107a1d48badcb5ee530526b6938d3b13ad</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -15,3 +15,4 @@
 The dbg_str() method is provided to all objects that we want to display debugging information. To help the understanding of imbricated objects, each object has specific debugging identifiers.

+[[img src=all_dbg_str__1.0.png alt="dbg_str() output formats"]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Fri, 31 Jan 2014 21:43:32 -0000</pubDate><guid>https://sourceforge.netaad70b33363a0d7855d7dc5c67690655f2359a02</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,6 +1,17 @@
-/!\ just a draft
+All debugging features are implemented in the script maintenance/debug.py
+
+Turn ENABLED to True in debug.py will let mathmaker write debugging informations to stderr.
+You will have also to choose which method(s) will display this information. Just set the matching boolean in debug.py to True.
+
+You can add other debugging points just using the debug.write() method. Try to put not too much of them everywhere...
+
+Example of usage in base_calculus.Product.get_factors_list() :
+
+    debug.write("\n[get_factors_list] current Product is : " + self.dbg_str() + "\n",
+                case=debug.get_factors_list_product)
+
+Will write the message only if debug.get_factors_list_product is set to True.
+
+The dbg_str() method is provided to all objects that we want to display debugging information. To help the understanding of imbricated objects, each object has specific debugging identifiers.

---&gt; Turn ENABLED to True in debug.py will let mathmaker write debugging informations to stderr. The methods that give output informations can be chosen among the different variable below (into_str_in_item, into_str_in_product etc.). All objects have a special (small) method called dbg_str() which is used to clearly identify the objects and their classes. 
-
-
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Fri, 31 Jan 2014 18:42:58 -0000</pubDate><guid>https://sourceforge.net6a4262df2d99eeb2d68a00e6f4c75153ad5ef87f</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,4 +1,6 @@
---&gt; Turn ENABLED to True in debug.py will let mathmaker write debugging informations to stderr. The methods that give output informations can be chosen among the different variable below (into_str_in_item, into_str_in_product etc.). All objects have a special (small) method called dbg_str() which is used to clearly identify the objects and their classes. (I can see in your snip : {+1^.1.} and {-0^.1.}, which represent Item(1) and Item(0), so there was some debugging stuff enabled there)
---&gt; The autotest-mathmaker executable in the main directory uses the tests present in maintenance/autotest
+/!\ just a draft

+--&gt; Turn ENABLED to True in debug.py will let mathmaker write debugging informations to stderr. The methods that give output informations can be chosen among the different variable below (into_str_in_item, into_str_in_product etc.). All objects have a special (small) method called dbg_str() which is used to clearly identify the objects and their classes. 
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Thu, 30 Jan 2014 22:08:46 -0000</pubDate><guid>https://sourceforge.netd70a1478233a418bd4cfcfd3dd30e3ae684df2cb</guid></item><item><title>Debugging modified by Nicolas Hainaux</title><link>https://sourceforge.net/p/mathmaker/doc4dev/Debugging/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;--&amp;gt; Turn ENABLED to True in debug.py will let mathmaker write debugging informations to stderr. The methods that give output informations can be chosen among the different variable below (into_str_in_item, into_str_in_product etc.). All objects have a special (small) method called dbg_str() which is used to clearly identify the objects and their classes. (I can see in your snip : {+1^.1.} and {-0^.1.}, which represent Item(1) and Item(0), so there was some debugging stuff enabled there)&lt;br /&gt;
--&amp;gt; The autotest-mathmaker executable in the main directory uses the tests present in maintenance/autotest&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolas Hainaux</dc:creator><pubDate>Thu, 30 Jan 2014 22:07:26 -0000</pubDate><guid>https://sourceforge.net5b6b0e3a19f7ac634ff3416262b29ac9852e86cc</guid></item></channel></rss>