Debugging tool with wxWidgets and VC++ .NET

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

Debugging tool with wxWidgets and VC++ .NET

Post by MuhammadSohail »

Hi all,
I m working with VC++ .Net and wxWidgets. Does someone know about the free debugging tools.

I have found "WinDbg" tool in the Internet but currently good documenation with example is not available.

Plz write me all possible debugging tools and there links
Romas
I live to help wx-kind
I live to help wx-kind
Posts: 176
Joined: Mon Jun 16, 2008 11:07 am
Location: Kaunas

Post by Romas »

Visual Studio has internal debuger by default...
Everything requires a line of code.
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

Post by MuhammadSohail »

Yes i know it can only be used on compiling.
We are selling our software, i want to generate dump or stack report at the customer PC in order to improve my software.
Romas
I live to help wx-kind
I live to help wx-kind
Posts: 176
Joined: Mon Jun 16, 2008 11:07 am
Location: Kaunas

Post by Romas »

wxWidgets has a mechanism for "stack walker", why not use this one? With this, you can generate core dump which later can be easily viewed with visual studio...

Visual Studio can debug all kind of apps (release and debug), but I really doubt you need this :p
Everything requires a line of code.
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

Post by MuhammadSohail »

Can you please write an example of stackWalker , How do i use it in my programm or any tutorial.

How would i debug my programm with Visual studio in releas mode?
Romas
I live to help wx-kind
I live to help wx-kind
Posts: 176
Joined: Mon Jun 16, 2008 11:07 am
Location: Kaunas

Post by Romas »

Stackwalker is in samples\debugrpt. Debuging in release is art :P The debuing in release with visual studio is quite similar to windbg. I really doubt you will find a better one, which will show your code lines without debuging info. Find bugs in debug mode, on your machine, add good log functionality. :)
Everything requires a line of code.
MuhammadSohail
Experienced Solver
Experienced Solver
Posts: 96
Joined: Fri Jun 17, 2005 1:53 pm
Location: Germany
Contact:

Post by MuhammadSohail »

is there any freeware debugging tool with good documentation?
User avatar
doublemax
Moderator
Moderator
Posts: 19116
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Post by doublemax »

Use the source, Luke!
Post Reply