E
E
evg_962018-04-27 09:35:32
C++ / C#
evg_96, 2018-04-27 09:35:32

Why the program is not recompiled and the old code is run?

In VS under x64 I run the code in debug mode, everything works ... up to a certain point. After a certain number of launches of different code, when entering the next example, for some reason the previous code is launched and not the current one, while no exceptions, errors, warnings are thrown. Subsequent attempts to run any code lead to the same result.
Tell me what is the problem and how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2018-04-27
@Taraflex

The program launched at the last stage most likely hung.
When rebuilding, the compiler could not delete the previous exe file, since the program is still hanging.
Check the "hanging" of the program in the task manager.

B
Bogdan, 2018-05-01
@4elovek37

Clean the objects with your hands and so on, what is left of debugging, then do Clean and then Rebuild.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question