debugging AI with breakpoints
Posted: 11 Oct 2009, 20:53
Hi.
Does anyone have a small guide on how to use breakpoints in AI's for Spring?
I am looking in to doing this, but having some issues. I was thinking this has be done in "GDB", which is also suggested on the Spring development WIKI, and have downloaded Version 7.
When trying to set a breakpoint to the main function of spring, I get an error when I try to run spring:
Spring never launches.
This even happens on a debug compiled version of spring.
When trying to set a breakpoint in my AI, i get that i cannot find the function, but it can look for it in a later loaded DLL (which it is), answering yes doesnt help (the breakpoint doesnt work).
Also trying to load the AI dll as a shared symbol file allows me to find the functions, but when launching spring, it comes with an error:
I have a feeling I am doing something completely wrong? :)
Does anyone have a small guide on how to use breakpoints in AI's for Spring?
I am looking in to doing this, but having some issues. I was thinking this has be done in "GDB", which is also suggested on the Spring development WIKI, and have downloaded Version 7.
When trying to set a breakpoint to the main function of spring, I get an error when I try to run spring:
Code: Select all
warning: (Internal error: pc 0x87bd59 in read in psymtab, but not in symtab.)
This even happens on a debug compiled version of spring.
When trying to set a breakpoint in my AI, i get that i cannot find the function, but it can look for it in a later loaded DLL (which it is), answering yes doesnt help (the breakpoint doesnt work).
Also trying to load the AI dll as a shared symbol file allows me to find the functions, but when launching spring, it comes with an error:
Code: Select all
warning: (Internal error: pc 0x68d8f416 in read in psymtab, but not in symtab.)
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x68d8f416: Input/output error.