Debug without other threads stopped!
-
I use Microsoft Visual Studio 6.0 and i want to debug a program without ther threads being stopped. toxcct did answer me yesterday,but I can not find the setting in VS 6.
-
I use Microsoft Visual Studio 6.0 and i want to debug a program without ther threads being stopped. toxcct did answer me yesterday,but I can not find the setting in VS 6.
Run the program under the debugger using F5. The program will run until a thread hits a breakpoint or causes an exception.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?
-
I use Microsoft Visual Studio 6.0 and i want to debug a program without ther threads being stopped. toxcct did answer me yesterday,but I can not find the setting in VS 6.
I want to set a breakpoint and debug one thread without other threads being stopped?
-
Run the program under the debugger using F5. The program will run until a thread hits a breakpoint or causes an exception.
--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Ford, what's this fish doing in my ear?
but i don't want other threads of my prgoram to be stopped! I use microsoft visual studio 6.
-
I want to set a breakpoint and debug one thread without other threads being stopped?
AFAIK this is not possible. Threads usually send and share information between each other. If one thread has been stopped, it could very well cause the other thread to crash. Perhaps you should consider using processes rather than threads.
-
AFAIK this is not possible. Threads usually send and share information between each other. If one thread has been stopped, it could very well cause the other thread to crash. Perhaps you should consider using processes rather than threads.
I am using a DLL in my program which checks a hardware periodically. When i am debugging my application,DLL reset the state of the hardware because of the pause time. Then i want DLL threads to run normally as i am debugging other threads!
-
I am using a DLL in my program which checks a hardware periodically. When i am debugging my application,DLL reset the state of the hardware because of the pause time. Then i want DLL threads to run normally as i am debugging other threads!
Like I suggested in my last post, use processes not threads. Create a process which loads your dll and does all the hardware monitoring. Create another process which handles events. When something happens with the hardware, use "inter process communication" to notify your other process.