View Single Post
Re: comments on eclipse
Old
  (#15)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: comments on eclipse - 09-08-2006

Quote:
Originally Posted by Whistler
well in my installed copy of Code::Blocks I can just use Debug->Attach to Process... and then input the PID to attach to a process. But I'm on GNU/Linux, not sure about Windows (maybe try ctrl+alt+del to get the PID?).
There is no such stuff for windows version - for some reason (C::B 1.0 RC2).

Quote:
Originally Posted by Whistler
As for the debugging information, it really should be okay. It may be the bugs of Dr. MinGW. Try the command line version of GDB and see if it's working.
I think there is a bug in mingw for win rather...
I just changed ggdb3 to ggdb2 and here is the result:
Quote:
Originally Posted by DrMingw
Code:
hlds.exe caused an Access Violation at location 77c37784 in module msvcrt.dll Reading from location 40ade1b9.

Registers:
eax=40ade1b9 ebx=6d06f752 ecx=6d08c604 edx=40ade1b9 esi=0787088c edi=00000002
eip=77c37784 esp=0012f240 ebp=0012f25c iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202

Call stack:
77C37784  msvcrt.dll:77C37784  strcmp
6D0498DB  podbot_mm.dll:6D0498DB  BotChooseAimDirection(bot_t*)  bot.cpp:3596

    ...
       else if ((iFlags & AIM_PREDICTPATH) && !(iFlags & AIM_ENTITY)) // KWo - 04.03.2006
       {
>          if  ( ((pEdict->v.origin - pBot->vecLastEnemyOrigin).Length () < 1600)
              && ( (tr.flFraction >= 0.2) || !(FStrEq(STRING (tr.pHit->v.classname), "worldspawn"))))
          {
    ...

6D04FE20  podbot_mm.dll:6D04FE20  BotThink(bot_t*)  bot.cpp:5639

    ...
       *****************************************/
    
>       BotChooseAimDirection (pBot);
       BotFacePosition (pBot, pBot->vecLookAt);
       BotCheckZoom (pBot); // KWo - 18.03.2006
    ...

6D0700E7  podbot_mm.dll:6D0700E7  StartFrame()  dll.cpp:1841

    ...
             }
             g_i_botthink_index = bot_index; // KWo - 02.05.2006
>             BotThink (&bots[bot_index]);
             num_bots++;
          }
    ...

6B2075F6  metamod.dll:6B2075F6
  
Reply With Quote