[PATCH] Fix changed variable highlighting
- From: Dodji Seketeli <dodji seketeli org>
- To: Nemiver Development <nemiver-list gnome org>
- Subject: [PATCH] Fix changed variable highlighting
- Date: Sun, 20 Nov 2011 15:26:27 +0100
Hello,
My earlier commit "d37ead9 Tighten IDebugger::Frame::operator=" broke
variable highlighting in the local variables widget while stepping.
Fixed thus, tested and applied to master.
commit 1876521f0efeaf3508ce512204b2cb0e7f5cbad4
Author: Dodji Seketeli <dodji seketeli org>
Date: Sun Nov 13 19:32:32 2011 +0100
Fix changed variable highlighting
* src/dbgengine/nmv-i-debugger.h (Frame::operator==): Ignore
line number and instruction pointer when comparing two frames.
diff --git a/src/dbgengine/nmv-i-debugger.h b/src/dbgengine/nmv-i-debugger.h
index b204c3e..6fb5fff 100644
--- a/src/dbgengine/nmv-i-debugger.h
+++ b/src/dbgengine/nmv-i-debugger.h
@@ -288,11 +288,9 @@ public:
bool operator== (const Frame &a) const
{
- return (address () == a.address ()
- && level () == a.level ()
+ return (level () == a.level ()
&& function_name () == a.function_name ()
&& file_name () == a.file_name ()
- && line () == a.line ()
&& library () == a.library ());
}
--
Dodji
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]