Visual Studio Debugger suport Trace?

vql's Avatar, Join Date: Sep 2007
vql
Go4Expert Member
I usually write programs on Linux & use gdb as a debugger. Gdb has a comfortable is that it support Trace Log, so if the program crash, we can trace up & down to know the position cause a crash.

Nearly, I use Visual Studio to write C++ programs & use available debugger of Microsoft but It don't support Trace Log. Once, the program crash, It break at the embedded library, not in my source code. And It is very hard to know where my source code causes the crash.

Specially, my program is a multithread program.

Please help me. THanks.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
If you have the debug options on then just run the program from the IDE and then when it crashes your program will break at that point so that you can understand where is the problem.
0
vql's Avatar, Join Date: Sep 2007
vql
Go4Expert Member
I understand what you said but my program don't crash in my source code, it crash in the library which I used in my source code. Please help me. Thanks.
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Then also your best solution is to know which library call crashed with the help of call stack and using the debug environment and then go through the document of the API as to what is the required param.