🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Xijin Shen Thu, 08 Oct 1992 20:15
Debugging C++ using Gdb
#456
Author: Xijin Shen
Date: Thu, 08 Oct 1992 20:15
20 lines
858 bytes
I begin to use Gdb 4.5 to debug c++ code, although I compiled these codes
using "-g", but I couldn't set breakpoints by functions:

(gdb) b draw::draw
The class draw does not have any method named draw

while I can set breakpoints by linenumbers:

(gdb) b draw.C:50
Breakpoint 2 at 0x21210: file draw.C, line 50.

Any ideas about this.


- Xijin

-- 
     Best Regards,

		        Xijin
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads