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 » Thu Sep 17, 2009 12:11 pm

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 » Thu Sep 17, 2009 12:23 pm

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 » Thu Sep 17, 2009 12:53 pm

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 » Thu Sep 17, 2009 12:58 pm

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 » Thu Sep 17, 2009 1:01 pm

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 » Thu Sep 17, 2009 1:08 pm

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 » Thu Sep 17, 2009 1:20 pm

is there any freeware debugging tool with good documentation?

User avatar
doublemax
Moderator
Moderator
Posts: 14080
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Post by doublemax » Thu Sep 17, 2009 2:25 pm

Use the source, Luke!

Post Reply