Home > Back-end > C how to implement the code to which line?
C how to implement the code to which line?
Time:10-13
I have 1000 lines of code, for example, in the process of execution, I want to know which line the current code execution, and execution, next time, followed by performed before the code executed, excuse me each, how to implement? : my interface, pause, continue, stop four button, Click start, the program starts executing... Click pause, the program immediately suspend, no longer to perform the execution to 500 lines, for example, Click continue, the application start effective from 501 lines... Click stops, the program immediately cease execution,
note: such as some code, though only a line, but the bank code execution, may take a few seconds,