Go Back   Angband Forums > Angband > Development

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old July 1, 2013, 05:12   #1
Join Date: Sep 2012
Posts: 43
TricksterWolf is on a distinguished road
Unhappy I am too stupid to use gdb with Angband.

In Netbeans I have the Run executable pointing to the place angband.exe gets copied at project root level. But when I try to Debug, all I get is assembly code I can't step through (it decompiles angband.exe which is dumb). Basically I can pause execution and peek at the decompiled code, and that's all I can do. I know that gdb is running through either Cygwin or DOS just fine because the decompiled code has a stack trace etc.

Trying to attach angband.exe to the debugger directly ends up failing, though if I really muck it up I can get it to do the same not-useful thing by attaching it directly.

Is there something I must do to configure gdb (and/or the project) so that I can see debugging data at C-file level? I haven't used a C-only debugger ever, and it's been many years since I did it with C++ so things have changed.

I may need to post on gdb forums and NetBeans forums as well but I figured I'd give this one a shot first. Thanks.
TricksterWolf is offline   Reply With Quote

breakpoint, debug, gdb, stack trace, watch

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
It was so stupid... lenrok Vanilla 10 January 24, 2013 08:23
Yet another stupid Windows question Therem Harth Development 0 July 13, 2012 18:25
Probably going to sound stupid Monkay Vanilla 6 March 20, 2012 14:16
Stupid non-death brinewave Vanilla 5 November 8, 2010 19:02
Stupid ghouls. relientKitten Vanilla 7 June 2, 2009 16:43

All times are GMT +1. The time now is 10:38.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.