ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] C++ & gdb
Date: Mon, 23 Sep 2002 12:20:44 +0400
Message-ID: <20020923082044.GF21933@basalt.office.altlinux.ru> (raw)
In-Reply-To: <20020923045044.GC26771@pyro.hopawar.private.net>

[-- Attachment #1: Type: text/plain, Size: 862 bytes --]

On Mon, Sep 23, 2002 at 11:50:44AM +0700, Alexey Morozov wrote:
> Скажите, а кто чем отлаживает программы на C++? gdb, по-моему,
> достаточно ущербный в этом плане. Во всяком случае, с задачей показа
> содержимого объектов сложных классов он практически не справляется.
> У меня тут библиотечка, написанная в ATL'ном стиле, показ любого
> сколько-нибудь сложного объекта кончается примерно так:
> 
> (gdb) display p
> 1: p = {<raw_packet_ptr<server::dgram::packet>> = {
>     p = 0x80688d8}, <No data fields>}
> gdb) display p.p
> 2: p.p = (packet *) 0x80688d8
> (gdb) display *p.p
> 3: *p.p = Value can't be converted to integer.
> Disabling display 3 to avoid infinite recursion.
> (gdb) _
> Хотя ptype на *p.p вполне себе работает.
> Это как-нибудь лечится или таки в морг. А если в морг - то чем ведущие

Я не сталкивался.
Поэтому давайте testcase.


--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2002-09-23  8:20 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-23  4:50 Alexey Morozov
2002-09-23  6:11 ` Sanja Byelkin
2002-09-23  6:50   ` Alexey Morozov
2002-09-23  8:20 ` Dmitry V. Levin [this message]
2002-09-23 12:34   ` Alexey Morozov
2002-09-23  9:22 ` Vlad Harchev
2002-09-23 12:33   ` Alexey Morozov
2002-09-23 12:42     ` Dmitry V. Levin
2002-09-23 13:28       ` Sanja Byelkin
2002-09-23 13:42         ` Dmitry V. Levin
2002-09-23 13:53           ` Sanja Byelkin
2002-09-23 14:00             ` Dmitry V. Levin
2002-09-23 14:11               ` Sanja Byelkin
2002-09-23 14:45                 ` Dmitry V. Levin
2002-09-23 17:59                   ` Sanja Byelkin
2002-09-23 18:26                     ` Dmitry V. Levin
2002-09-23 19:57                       ` Sanja Byelkin
2002-09-23 20:16                         ` Sanja Byelkin
2002-09-24  9:41                           ` Dmitry V. Levin
2002-09-24  9:52                         ` Dmitry V. Levin
2002-09-24 14:00                           ` Sergey Vlasov
2002-09-24 14:17                             ` Dmitry V. Levin
2002-09-24 15:32                               ` Sergey Vlasov
2002-09-24 16:22                                 ` Dmitry V. Levin
2002-09-23 11:06 ` Vitaly Lugovsky
2002-09-23 12:37   ` Alexey Morozov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020923082044.GF21933@basalt.office.altlinux.ru \
    --to=ldv@altlinux.org \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git