1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

Visual Studio Debugger suport Trace?

Discussion in 'C' started by vql, Oct 13, 2007.

  1. vql

    vql New 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.
  2. shabbir

    shabbir Administrator Staff Member

    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.
  3. vql

    vql New 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.
  4. shabbir

    shabbir Administrator Staff Member

    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.

Share This Page