26

Re: How in the code to define, what now debugging?

AlekseySQL wrote:

it Is necessary for me not to launch some flows during debugging because to debug
Multi-threaded application is inconvenient.

Even is worse: it cannot be debugged any debugger. Because that imports
The noises, hiding bugs. You never will catch a debugger of race of flows.

27

Re: How in the code to define, what now debugging?

AlekseySQL wrote:

I Use Qt - Creator, I push the special button "Debugging" allocated at the left below. It Is necessary for me not to launch some flows during debugging because to debug multi-threaded application inconveniently.

So a key in command line make and check...

28

Re: How in the code to define, what now debugging?

Barlone wrote:

So a key in command line make and check...

How?

29

Re: How in the code to define, what now debugging?

AlekseySQL wrote:

it is passed...
How?

Well if you use QtCreator, probably Qt use in the program. To dock on QCommandLineParser look.

30

Re: How in the code to define, what now debugging?

AlekseySQL wrote:

It would be desirable something type:

if (Debug) TaskManager.setMaxThreadCount (1);

How such to make?

#ifdef _DEBUG
printf ("Ja  ! \n");
#endif