Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to find code error in source given offset in executable

Author: Dann Corbit

Date: 18:48:29 03/07/06

Go up one level in this thread


On March 07, 2006 at 21:43:13, Dann Corbit wrote:

>On March 07, 2006 at 21:34:51, David B Weller wrote:
>
>>Hi Dann,
>>
>>I 'assume' the offset is from the start of the xpdnt.exe ???
>>
>>Using Dev-cpp and have never been able to use the debugger for some reason
>>[It doesnt seem to do anything]

Click on "Debug" menu item --> "Exceptions" and choose "Win32 Exceptions".
Choose to break into the debugger for everything (everything should be red
colored and if you pick it it should say BOTH for thrown and not handled "Break
into debugger")

>>I use Windows XP sp2 pro
>>
>>Found a switch -S for gcc to output assembly ...
>>
>>I guess a debugger would be nice ... LOL
>
>Gdb is free.  There is a better variant called ddd.
>
>I recommend eclipse + CDT + (ddd or Gdb):
>http://linuxdevices.com/articles/AT8349506804.html
>http://www-128.ibm.com/developerworks/opensource/library/os-ecc/
>
>You can do it under Mingw or Linux or whatever you like and it works the same
>everywhere.  It's just about as good as Visual Studio.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.