Unix Programming - It seems gdb can not work well for c++ program

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > May 2005 > It seems gdb can not work well for c++ program





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author It seems gdb can not work well for c++ program
Zheng Da

2005-05-15, 8:35 am

When I set a break point in the constructor of a class, and run the
program in gdb, but the program didn't stop at the breakpoint I set.It
seemed there was no breakpoints at all.
How should I set the breakpoint in the constructor.

Paul Pluzhnikov

2005-05-15, 9:18 am

"Zheng Da" <zhengda1936@sina.com> writes:

> How should I set the breakpoint in the constructor.


The "regular" way.

You could try asking a smarter question:
http://www.catb.org/~esr/faqs/smart-questions.html

Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
Zheng Da

2005-05-16, 5:52 pm

I can not open the website

Zheng Da

2005-05-16, 5:52 pm

I can not open the website

cz

2005-05-17, 5:56 pm

The site is filtered by ur government, try to use a proxy.

Good luck!

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com