Results 1 to 1 of 1
Hi
I have written a class CString to manupialting all char * thing.(Same as String class ).
Suppose in another class I have decalre like dat
class MyClass
{
MyClass()
...
- 11-04-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 2
put watch at class object:GDB
Hi
I have written a class CString to manupialting all char * thing.(Same as String class ).
Suppose in another class I have decalre like dat
class MyClass
{
MyClass()
{
m_cstring=new CString("Hello");
}
}
In gdb I want to add this m_cstring varriable and want to see what insdie in char* varriable,in short want to check the string right now its pointing.
How can I achieve this in GDB.
Thanks in advance.


Reply With Quote