Improved the debug example, so that it outputs more information.

This commit is contained in:
2014-06-30 15:16:31 +02:00
parent 425c976032
commit 66a1e0629c
2 changed files with 5 additions and 6 deletions

View File

@@ -9,14 +9,16 @@
<option warning="true" full_class_checking="false" is_attached_by_default="true" void_safety="transitional" syntax="transitional"> <option warning="true" full_class_checking="false" is_attached_by_default="true" void_safety="transitional" syntax="transitional">
<assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/> <assertions precondition="true" postcondition="true" check="true" invariant="true" loop="true" supplier_precondition="true"/>
</option> </option>
<setting name="console_application" value="true"/>
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/> <library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
<library name="encoder" location="..\..\library\text\encoder\encoder-safe.ecf" readonly="false"/>
<library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/> <library name="http" location="..\..\library\network\protocol\http\http-safe.ecf"/>
<library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf" readonly="false"/> <library name="wsf" location="..\..\library\server\wsf\wsf-safe.ecf" readonly="false"/>
<library name="wsf_extension" location="..\..\library\server\wsf\wsf_extension-safe.ecf"/> <library name="wsf_extension" location="..\..\library\server\wsf\wsf_extension-safe.ecf" readonly="false"/>
</target> </target>
<target name="debug_any" extends="common"> <target name="debug_any" extends="common">
<root class="EWF_DEBUG_SERVER" feature="make_and_launch"/> <root class="EWF_DEBUG_SERVER" feature="make_and_launch"/>
<library name="cgi" location="..\..\library\server\wsf\connector\cgi-safe.ecf"/> <library name="cgi" location="..\..\library\server\wsf\connector\cgi-safe.ecf" readonly="false"/>
<library name="libfcgi" location="..\..\library\server\wsf\connector\libfcgi-safe.ecf"/> <library name="libfcgi" location="..\..\library\server\wsf\connector\libfcgi-safe.ecf"/>
<library name="nino" location="..\..\library\server\wsf\connector\nino-safe.ecf"/> <library name="nino" location="..\..\library\server\wsf\connector\nino-safe.ecf"/>
<cluster name="launcher" location=".\launcher\any\" recursive="true"/> <cluster name="launcher" location=".\launcher\any\" recursive="true"/>

View File

@@ -27,18 +27,15 @@ feature {NONE} -- Initialization
Precursor Precursor
set_service_option ("verbose", True) set_service_option ("verbose", True)
set_service_option ("port", 9090) set_service_option ("port", 9090)
set_service_option ("base", "/www-debug/debug_service.fcgi") -- set_service_option ("base", "/www-debug/debug_service.fcgi/")
end end
execute (req: WSF_REQUEST; res: WSF_RESPONSE) execute (req: WSF_REQUEST; res: WSF_RESPONSE)
local local
dbg: WSF_DEBUG_HANDLER dbg: WSF_DEBUG_HANDLER
m: WSF_PAGE_RESPONSE
do do
create dbg.make create dbg.make
dbg.execute_starts_with ("", req, res) dbg.execute_starts_with ("", req, res)
--create m.make_with_body ("This is ewf debug")
--res.send (m)
end end
end end