SV: Build with debug

Hallgren Johan E jhhal at WMDATA.COM
Fri Apr 27 00:44:16 EDT 2007


Hello Tamas
 
These are the settins I use, do you mean that this it should be correct? I have DEBUG ON on both root tag and on the specifc layer. Could the output be somewhere where I dont't see it? I use Mapscript in Visual studio, and I expected to see the ouput at the Debug/output window. 
 
*******************************************************
 
# Optimized, with using MSVCRT. 

OPTFLAGS = /nologo /Ox /MD $(WARNING_LEVEL) $(DEBUG) /EHsc

# Uncomment the following to link mapserv.exe with a dll. In almost 

# all cases you will want to do this.

DLLBUILD = 1

# Set the Warning level for the compiler (defaults to W1)

WARNING_LEVEL=/W3

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# Debugging Options

#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ENABLE_STDERR_DEBUG=-DENABLE_STDERR_DEBUG

# Set the linker debug option

# LDEBUG=/debug

# DEBUG Build flags

# Set the DEBUG flag if you wish to make a debug build

# DEBUG=/DDEBUG

*******************************************************
Johan
___________________________________

Johan Hallgren

 
WM-data
Pelle Bergs backe 3
Box 1938, 791 19 Falun
Tel (och mobil): 023-547 46 (int: +46-2354746)
johan.e.hallgren at wmdata.com <mailto:johan.e.hallgren at wmdata.com> 
http://www.wmdata.se <https://webaccess.wmdata.com/exchweb/bin/redir.asp?URL=http://www.wmdata.se/> 

________________________________

Från: Tamas Szekeres [mailto:szekerest at gmail.com]
Skickat: to 2007-04-26 19:21
Till: Hallgren Johan E
Kopia: MAPSERVER-DEV at lists.umn.edu
Ämne: Re: Build with debug



Johan,

You might have to compile with ENABLE_STDERR_DEBUG and use "DEBUG ON"
in your map configuration.
Verbose output is generated and sent to the standard error output (STDERR).

Best regards,

Tamas


2007/4/26, Hallgren Johan E <jhhal at wmdata.com>:
>
>
>
>
> Hello
>
>
>
> I tries to build MapServer so I can see msDebug()-output. I expect to see
> the output in the VS-output window, or in the console running the program
> but I don't. Do I have to change some compiler directives that I have
> missed?
>
>
>
> /Johan
>
>
> ___________________________________
> Johan Hallgren
>
>
>
>
>
> WM-data a LogicaCMG company
>
>
> Pelle Bergs backe 3
>
>
> Box 1938, 791 19 Falun
>
>
>
> Tel: 023-547 46 (int: +46-2354746)
>
> Mobil: 070-588 44 28 (int: +46-705884428)
>
>
> johan.e.hallgren at wmdata.com
>
>
> http://www.wmdata.se <http://www.wmdata.se/> 
>
>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20070427/cc528d60/attachment.html


More information about the mapserver-dev mailing list