Image

Imagelife_warrior wrote in Imagecpp

Hi everyone!

While debugging my C++ code, I've came across one annoying problem.
I have a small object, passed everywhere by copy. And it has its own constructor.
Whenever I do a step-in action, I very often step in into this constructor what is of no need to me, thus wasting time on stepping-in,stepping out of it.

Is there a way to somehow exclude that class from debug information, so the environment would bypass entering this constructor during debug step-in action?

I'm working in Wind River Workbench v 2.5 environment with gnu compiler.

Thank you!

PS. Checked google, but could find anything exact.

UPDATE:




 1 class Simple
 2 {

 3 public:
 4 	Simple()
 5 	{

 6 		i = 0;
 7 	}
 8 private:

 9 	int i;
10 };
11 
12 void compare( Simple s1, Simple s2 );

13 
14 int main( int argc, char* argv, char* argvv[] )

15 {
16 	Simple s1, s2;
17 	compare( s1, s2 );

18 	return 0;
19 }




syntax highlighted by Code2HTML, v. 0.9.1






Supposing, I need to step in into function compare() from main(). But, before I do, I will enter two times the constructor of Simple class. Doing this hundred of times per day, it becomes really annoying.