[gdal-dev] can not debug gdal1.8.1 at visual studio 2008

Dan Homerick danhomerick at gmail.com
Wed Nov 16 10:01:11 EST 2011

Sorry, that should really be, "If you can't step into gdal functions
at all, then the cause is something besides that message."

What happens when you try to step into a gdal function?

Are you statically linking (gdal.lib) or dynamically linking
(gdal_i.lib + gdal18.dll)?

If you're using the gdal dll, could you provide the entire output
window contents? I would want to check that gdal isn't also reporting
that the binary was not built with debug information.

One other thing to try is running "nmake /f makefile.vc clean" prior
to the commands you listed. Under some circumstances, I think that
cleaning may be required if going from a non-debug build to a debug

- Dan

On Wed, Nov 16, 2011 at 6:46 AM, Dan Homerick <danhomerick at gmail.com> wrote:
> The message you're seeing is because Microsoft doesn't include debug
> information for their ODBC driver. This should not prevent you from
> debugging entirely, it should just mean that you can't step into ODBC
> function calls. If you can't debug at all, then the cause is almost
> certainly something besides that message.
>  - Dan
> On Wed, Nov 16, 2011 at 3:47 AM, mrym <meryemvrl at gmail.com> wrote:
>> Hi,
>> i've downloaded gdal1.8.1 and builded it with
>> nmake /f makefile.vc DEBUG=1
>> nmake /f makefile.vc install
>> nmake /f makefile.vc devinstall
>> everything was fine till trying to debug gdal functions. i can't debug any
>> gdal function. i tried lots of thing(in fact everything in google) to fix
>> it, but it's still same. i see this message at output window "
>> 'C:\Windows\SysWOW64\odbcint.dll', Binary was not built with debug
>> information. " . i got stuck:( please i need your help.
>> Thanks..
>> --
>> View this message in context: http://osgeo-org.1803224.n2.nabble.com/can-not-debug-gdal1-8-1-at-visual-studio-2008-tp7000116p7000116.html
>> Sent from the GDAL - Dev mailing list archive at Nabble.com.
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev

More information about the gdal-dev mailing list