Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Visual Studio Debugger suport Trace? (http://www.go4expert.com/forums/visual-studio-debugger-suport-trace-t6812/)

vql 13Oct2007 17:38

Visual Studio Debugger suport Trace?
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.

shabbir 13Oct2007 18:07

Re: Visual Studio Debugger suport Trace?
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.

vql 14Oct2007 18:34

Re: Visual Studio Debugger suport Trace?
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.

shabbir 14Oct2007 19:30

Re: Visual Studio Debugger suport Trace?
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.

All times are GMT +5.5. The time now is 05:27.