View Issue Details

IDProjectCategoryView StatusLast Update
0036859LazarusDebuggerpublic2020-04-02 15:51
ReporterCyrax Assigned ToMartin Friebe  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformLinux x86_64OSArch 
Product Version2.1 (SVN) 
Summary0036859: Trying to remotely debug (gdbserver --attach <PID>) already running program via Lazarus IDE doesn't work.
DescriptionLike summary says, it seems that Lazarus debugger does not recognise already remotely stopped program by gdbserver (gdbserver does this automatically when attaching to program). It will continue the execution of the program and further tries to affect to the debugging process is nil.

Except from Debug output window:
~"Reading symbols from target:/usr/lib/libFLAC.so.8...\n"
~"(No debugging symbols found in target:/usr/lib/libFLAC.so.8)\n"
~"Reading symbols from target:/usr/lib/libnss_files.so.2...\n"
~"(No debugging symbols found in target:/usr/lib/libnss_files.so.2)\n"
~"Reading symbols from target:/usr/lib/gio/modules/libgvfsdbus.so...\n"
~"(No debugging symbols found in target:/usr/lib/gio/modules/libgvfsdbus.so)\n"
~"Reading symbols from target:/usr/lib/gvfs/libgvfscommon.so...\n"
~"(No debugging symbols found in target:/usr/lib/gvfs/libgvfscommon.so)\n"
~"Reading symbols from target:/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...\n"
~"(No debugging symbols found in target:/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so)\n"
~"Reading symbols from target:/usr/lib/gio/modules/libgioremote-volume-monitor.so...\n"
~"(No debugging symbols found in target:/usr/lib/gio/modules/libgioremote-volume-monitor.so)\n"
~"Reading /lib64/ld-linux-x86-64.so.2 from remote target...\n"
~"0x00007fc4374a5abf in poll () from target:/usr/lib/libc.so.6\n"
*stopped,frame={addr="0x00007fc4374a5abf",func="poll",args=[],from="target:/usr/lib/libc.so.6",arch="i386:x86-64"},thread-id="1",stopped-threads="all",core="6"
^done
(gdb) 
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetGTK 2
Attached Files

Activities

Cyrax

2020-04-02 15:51

reporter  

Issue History

Date Modified Username Field Change
2020-04-02 15:51 Cyrax New Issue
2020-04-02 15:51 Cyrax Status new => assigned
2020-04-02 15:51 Cyrax Assigned To => Martin Friebe
2020-04-02 15:51 Cyrax File Added: debugger-window-output.zip