Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how can i modify a vertor when debug a C++ code with GDB.

1 view
Skip to first unread message

qianying...@gmail.com

unread,
Jan 29, 2016, 2:32:15 AM1/29/16
to
Hi all
i am a fresh man of using GDB, now i want to modify a vertor container in GDB.

>>> code

if(cTestVec.empty())
{
return -1
}

>>> end

well, The param cTestVec is empty. but i want modify is when degueing.

thk u everyone!
0 new messages