Public bug reported: In gdb, the source code of the current line number is printed when the debugger breaks somewhere, e.g.:
(gdb) r Starting program: /home/dagraf/test/test Breakpoint 1, main () at test.cpp:8 8 lSet.insert("david"); (gdb) n 9 lSet.insert("graf"); (gdb) n 10 lSet.insert("dfa"); (gdb) n 11 lSet.insert("aaaa"); (gdb) n 13 std::set<std::string>::iterator lIter = lSet.begin(); This makes debugger much easier. Would be very helpful in xqdb. ** Affects: zorba Importance: Wishlist Assignee: Gabriel Petrovay (gabipetrovay) Status: New -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/898093 Title: Print Source Code of Current Line in Debugger Client Status in Zorba - The XQuery Processor: New Bug description: In gdb, the source code of the current line number is printed when the debugger breaks somewhere, e.g.: (gdb) r Starting program: /home/dagraf/test/test Breakpoint 1, main () at test.cpp:8 8 lSet.insert("david"); (gdb) n 9 lSet.insert("graf"); (gdb) n 10 lSet.insert("dfa"); (gdb) n 11 lSet.insert("aaaa"); (gdb) n 13 std::set<std::string>::iterator lIter = lSet.begin(); This makes debugger much easier. Would be very helpful in xqdb. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/898093/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp