[PATCH 2/3] Add logging in DBGPerspective::set_where



Hello,

This patch adds some trivial logging I have used to debug the issue I
explain in my previous patch-email.

Tested and applied to master.

From: Dodji Seketeli <dodji gnome org>
Date: Sun, 2 Oct 2011 20:55:53 +0200
Subject: [PATCH 2/3] Add logging in DBGPerspective::set_where

	* src/persp/dbgperspective/nmv-dbg-perspective.cc
	(DBGPerspective::set_where): Add logging here.
---
 src/persp/dbgperspective/nmv-dbg-perspective.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/persp/dbgperspective/nmv-dbg-perspective.cc b/src/persp/dbgperspective/nmv-dbg-perspective.cc
index 8fbbe4b..89e4fea 100644
--- a/src/persp/dbgperspective/nmv-dbg-perspective.cc
+++ b/src/persp/dbgperspective/nmv-dbg-perspective.cc
@@ -4222,6 +4222,8 @@ bool
 DBGPerspective::set_where (const IDebugger::Frame &a_frame,
                            bool a_do_scroll, bool a_try_hard)
 {
+    LOG_FUNCTION_SCOPE_NORMAL_DD;
+
     UString file_path = a_frame.file_full_name ();
     if (file_path.empty ())
         file_path = a_frame.file_name ();
-- 
1.7.6.2


-- 
		Dodji


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]