From: "Prashant Deva" <fulcrum1@onlysmart.com>
To: "gdb" <gdb@sources.redhat.com>
Subject: Are ASSERT style macros prossible with gdb?
Date: Fri, 20 Sep 2002 01:44:00 -0000 [thread overview]
Message-ID: <00a501c26081$cce7dbb0$e5698aca@homecomp> (raw)
In VC++ you can put the expressions within an ASSERT macro the effect of
which being that while running if the expression evaluates to false the
program gives an option to start the debugger and break on the line on which
the assert statement evaluated to false.
I want to know if such kind of functionality is possible with gdb. Is there
anyway within the windows evnviroment that the running program if
encountered an error can send a msg to gdb to attach itself to the program
and break on the specific line?
next reply other threads:[~2002-09-20 8:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-20 1:44 Prashant Deva [this message]
2002-09-26 17:18 ` Andrew Cagney
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='00a501c26081$cce7dbb0$e5698aca@homecomp' \
--to=fulcrum1@onlysmart.com \
--cc=gdb@sources.redhat.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox