[Nemiver-list] Re: A few more issues and ideas



On 10/7/06, Jonathon Jongsma <jonathon jongsma domain hid> wrote:
I just wanted to send these to the list so that I don't forget about them:

[snip]
[2] breakpoints: I'm having some issues with breakpoints.
Essentially, if I put a breakpoint anywhere outside the main function,
it doesn't seem to actually break...  I'll try to investigate what the
actual situation is a bit better.

Well, I looked at it a little bit closer and it appears that it may be
an issue with my version of gdb.  If I run plain gdb on agave, it
behaves the same way, which is as follows:

file gcs-mainwindow.cc, line 110:
            srand(time(NULL));

if I issue the following command:
`break srand`
and then `run`, it breaks as expected on line 110 (after breaking a
couple times in the library initialization)

on the other hand, if I issue the following command:
`break gcs-mainwindow.cc:110`
and then `run`, the debugger never breaks and just runs to completion

So it appears that my version of gdb is having trouble with file:line
breakpoints.  I'll attach a log from the following command as well, in
case anybody finds it interesting:
`nmv_log_domains="gdbmi-output-domain nmv-gdb-engine.cc" nemiver > out.log`

--
jonner
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: 'set breakpoint pending auto'
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: 'set breakpoint pending auto'
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: 'set inferior-tty /dev/pts/3'
|{|virtual void nemiver::GDBEngine::set_breakpoint(const nemiver::common::UString&, gint, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: 'break /home/jonathon/Projects/agave.git/src/main.cc:68'
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-break-list '
|}|virtual void nemiver::GDBEngine::set_breakpoint(const nemiver::common::UString&, gint, bool):}elapsed: 0.001031secs 
|{|virtual void nemiver::GDBEngine::set_breakpoint(const nemiver::common::UString&, gint, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: 'break /home/jonathon/Projects/agave.git/src/main.cc:61'
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-break-list '
|}|virtual void nemiver::GDBEngine::set_breakpoint(const nemiver::common::UString&, gint, bool):}elapsed: 0.001013secs 
|{|virtual void nemiver::GDBEngine::set_breakpoint(const nemiver::common::UString&, gint, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: 'break /home/jonathon/Projects/agave.git/src/gcs-mainwindow.cc:110'
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-break-list '
|}|virtual void nemiver::GDBEngine::set_breakpoint(const nemiver::common::UString&, gint, bool):}elapsed: 0.001122secs 
|{|virtual void nemiver::GDBEngine::run(bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-exec-run'
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: 'info proc'
|}|virtual void nemiver::GDBEngine::run(bool):}elapsed: 0.000984secs 
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
~"GNU gdb 6.4-debian\n"
~"Copyright 2005 Free Software Foundation, Inc.\n"
~"GDB is free software, covered by the GNU General Public License, and you are\n"
~"welcome to change it and/or distribute copies of it under certain conditions.\n"
~"Type \"show copying\" to see the conditions.\n"
~"There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n"
~"This GDB was configured as \"x86_64-linux-gnu\"..."
~"Using host libthread_db library \"/lib/libthread_db.so.1\".\n"
~"\n"
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'GNU gdb 6.4-debian\n' size=20
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'Copyright 2005 Free Software Foundation, Inc.\n' size=47
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'GDB is free software, covered by the GNU General Public License, and you are\n' size=78
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'welcome to change it and/or distribute copies of it under certain conditions.\n' size=79
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'Type \"show copying\" to see the conditions.\n' size=46
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'There is absolutely no warranty for GDB.  Type \"show warranty\" for details.\n' size=79
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'This GDB was configured as \"x86_64-linux-gnu\"...' size=50
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'Using host libthread_db library \"/lib/libthread_db.so.1\".\n' size=61
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: '\n' size=2
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
&"set breakpoint pending auto\n"
^done
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'set breakpoint pending auto\n' size=29
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: 'set inferior-tty /dev/pts/3'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
&"set inferior-tty /dev/pts/3\n"
^done
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'set inferior-tty /dev/pts/3\n' size=29
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: 'break /home/jonathon/Projects/agave.git/src/main.cc:68'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
&"break /home/jonathon/Projects/agave.git/src/main.cc:68\n"
~"Breakpoint 1 at 0x426a78: file main.cc, line 68.\n"
^done
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'break /home/jonathon/Projects/agave.git/src/main.cc:68\n' size=56
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'Breakpoint 1 at 0x426a78: file main.cc, line 68.\n' size=50
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-break-list '
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="18",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000426a78",func="main",file="main.cc",line="68",times="0"}]}
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3667:firing IDebugger::breakpoint_set_signal()
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: 'break /home/jonathon/Projects/agave.git/src/main.cc:61'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
&"break /home/jonathon/Projects/agave.git/src/main.cc:61\n"
~"Breakpoint 2 at 0x4267a9: file main.cc, line 61.\n"
^done
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'break /home/jonathon/Projects/agave.git/src/main.cc:61\n' size=56
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'Breakpoint 2 at 0x4267a9: file main.cc, line 61.\n' size=50
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-break-list '
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,BreakpointTable={nr_rows="2",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="18",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000426a78",func="main",file="main.cc",line="68",times="0"},bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x00000000004267a9",func="OptionGroup",file="main.cc",line="61",times="0"}]}
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3667:firing IDebugger::breakpoint_set_signal()
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: 'break /home/jonathon/Projects/agave.git/src/gcs-mainwindow.cc:110'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
&"break /home/jonathon/Projects/agave.git/src/gcs-mainwindow.cc:110\n"
~"Breakpoint 3 at 0x4181ef: file gcs-mainwindow.cc, line 110.\n"
^done
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'break /home/jonathon/Projects/agave.git/src/gcs-mainwindow.cc:110\n' size=67
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'Breakpoint 3 at 0x4181ef: file gcs-mainwindow.cc, line 110.\n' size=61
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-break-list '
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,BreakpointTable={nr_rows="3",nr_cols="6",hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="18",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000426a78",func="main",file="main.cc",line="68",times="0"},bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x00000000004267a9",func="OptionGroup",file="main.cc",line="61",times="0"},bkpt={number="3",type="breakpoint",disp="keep",enabled="y",addr="0x00000000004181ef",func="MainWindow",file="gcs-mainwindow.cc",line="110",times="0"}]}
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3667:firing IDebugger::breakpoint_set_signal()
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-exec-run'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^running
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: 'info proc'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
~"[Thread debugging using libthread_db enabled]\n"
~"[New Thread 46912594466848 (LWP 20327)]\n"
~"[Switching to Thread 46912594466848 (LWP 20327)]\n"
*stopped,reason="breakpoint-hit",bkptno="1",thread-id="1",frame={addr="0x0000000000426a78",func="main",args=[{name="argc",value="1"},{name="argv",value="0x7fffffc666d8"}],file="main.cc",fullname="/home/jonathon/Projects/agave.git/src/main.cc",line="73"}
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: '[Thread debugging using libthread_db enabled]\n' size=47
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: '[New Thread 46912594466848 (LWP 20327)]\n' size=41
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: '[Switching to Thread 46912594466848 (LWP 20327)]\n' size=50
|{|virtual void nemiver::GDBEngine::list_frames(bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-stack-list-frames'
|}|virtual void nemiver::GDBEngine::list_frames(bool):}elapsed: 0.000237secs 
|{|virtual void nemiver::GDBEngine::list_local_variables(bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-stack-list-locals 2'
|}|virtual void nemiver::GDBEngine::list_local_variables(bool):}elapsed: 0.000234secs 
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
&"info proc\n"
~"process 20327\n"
~"cmdline = '/usr/local/bin/agave'\n"
~"cwd = '/home/jonathon/Projects/nemiver'\n"
~"exe = '/usr/local/bin/agave'\n"
^done
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'info proc\n' size=11
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'process 20327\n' size=15
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'cmdline = '/usr/local/bin/agave'\n' size=34
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'cwd = '/home/jonathon/Projects/nemiver'\n' size=41
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'exe = '/usr/local/bin/agave'\n' size=30
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnInfoProcHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3850:handler selected
|{|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):{
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4656:found a debugger console stream record 'process 20327
'
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4662:found process stream record: 'process 20327
'
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4663:process_index: '0'
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4656:found a debugger console stream record 'cmdline = '/usr/local/bin/agave'
'
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4656:found a debugger console stream record 'cwd = '/home/jonathon/Projects/nemiver'
'
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4656:found a debugger console stream record 'exe = '/usr/local/bin/agave'
'
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4692:extracted PID: '20327'
|I|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):nmv-gdb-engine.cc:4721:extracted exe path: '/usr/local/bin/agave'
|}|bool nemiver::GDBEngine::extract_proc_info(nemiver::Output&, int&, nemiver::common::UString&):}elapsed: 0.002secs 
|I|void nemiver::GDBEngine::on_got_proc_info_signal(int, const nemiver::common::UString&):nmv-gdb-engine.cc:4340:target pid: '20327'
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-stack-list-frames'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,stack=[frame={level="0",addr="0x0000000000426a78",func="main",file="main.cc",fullname="/home/jonathon/Projects/agave.git/src/main.cc",line="73"}]
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnFramesListedHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3793:handler selected
|{|virtual void nemiver::GDBEngine::list_frames_arguments(int, int, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-stack-list-arguments 1'
|}|virtual void nemiver::GDBEngine::list_frames_arguments(int, int, bool):}elapsed: 0.000321secs 
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-stack-list-locals 2'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,locals=[{name="context",type="struct Glib::OptionContext"},{name="option_group",type="gcs::OptionGroup"},{name="app",type="struct Gtk::Main"},{name="w",type="class gcs::MainWindow &",value="<value optimized out>"}]
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnLocalVariablesListedHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3885:handler selected
|{|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-data-evaluate-expression context'
|}|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):}elapsed: 0.000247secs 
|{|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-data-evaluate-expression option_group'
|}|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):}elapsed: 0.000234secs 
|{|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-data-evaluate-expression app'
|}|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):}elapsed: 0.000246secs 
|{|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-data-evaluate-expression w'
|}|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):}elapsed: 0.000234secs 
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-stack-list-arguments 1'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,stack-args=[frame={level="0",args=[{name="argc",value="1"},{name="argv",value="(char **) 0x7fffffc666d8"}]}]
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnFramesParamsListedHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3821:handler selected
|{|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-data-evaluate-expression argc'
|}|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):}elapsed: 0.000249secs 
|{|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-data-evaluate-expression argv'
|}|virtual void nemiver::GDBEngine::print_variable_value(const nemiver::common::UString&, bool):}elapsed: 0.000307secs 
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-data-evaluate-expression context'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,value="<incomplete type>"
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnVariableValueHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3915:handler selected
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-data-evaluate-expression option_group'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,value="{<> = {<No data fields>}, <No data fields>}"
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnVariableValueHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3915:handler selected
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-data-evaluate-expression app'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,value="<incomplete type>"
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnVariableValueHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3915:handler selected
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-data-evaluate-expression w'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,value="@0x0"
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnVariableValueHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3915:handler selected
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-data-evaluate-expression argc'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,value="1"
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnVariableValueHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3915:handler selected
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-data-evaluate-expression argv'
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^done,value="0x7fffffc666d8"
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnVariableValueHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3915:handler selected
|{|virtual void nemiver::GDBEngine::do_continue(bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-exec-continue'
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-exec-continue'
|}|virtual void nemiver::GDBEngine::do_continue(bool):}elapsed: 0.001387secs 
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
^running
(gdb) 

</debuggeroutput>
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
*stopped,reason="exited-normally"
(gdb) 

</debuggeroutput>
|{|virtual void nemiver::GDBEngine::list_frames(bool):{
|I|virtual bool nemiver::GDBEngine::queue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:4395:queuing command: '-stack-list-frames'
|I|bool nemiver::GDBEngine::Priv::issue_command(const nemiver::IDebugger::Command&, bool):nmv-gdb-engine.cc:1436:issuing command: '-stack-list-frames'
|}|virtual void nemiver::GDBEngine::list_frames(bool):}elapsed: 0.000969secs 
|I|void nemiver::GDBEngine::Priv::on_gdb_stdout_signal(const nemiver::common::UString&):nmv-gdb-engine.cc:1183:<debuggeroutput>
&"No registers.\n"
^error,msg="No registers."
(gdb) 

</debuggeroutput>
|I|void nemiver::GDBEngine::Priv::remove_stream_record_trailing_chars(nemiver::common::UString&):nmv-gdb-engine.cc:3059:stream record: 'No registers.\n' size=15
|I|bool nemiver::GDBEngine::Priv::parse_result_record(const nemiver::common::UString&, size_t, size_t&, nemiver::Output::ResultRecord&):nmv-gdb-engine.cc:3446:got error with attribute: 'msg':'No registers.'
|I|virtual bool nemiver::OnBreakPointHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3626:handler selected
|I|virtual void nemiver::OnBreakPointHandler::do_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3672:finally, no breakpoint was detected as set/deleted
|I|virtual bool nemiver::OnErrorHandler::can_handle(nemiver::CommandAndOutput&):nmv-gdb-engine.cc:3992:handler selected


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