Re: Enable simple debug instruction with gexace
"Eric Bezault ericb-D6Qt/9opevxWk0Htik3J/[email protected] [gobo-eiffel]" <[email protected]> Wed, 10 Sep 2014 18:34:17 +0200
| Newsgroups | gmane.comp.lang.eiffel.gobo.general |
|---|---|
| Message-ID | <[email protected]> |
On 9/10/2014 3:41 AM, Berend de Boer [email protected] [gobo-eiffel] wrote: > >>>>>> "Eric" == Eric Bezault ericb@gobosoft com [gobo-eiffel] <[email protected]> writes: > > Eric> As far as I can see in the code, the following line: > > Eric> <option name="debug" value="true"/> > > Eric> in the Xace file should generate the following line: > > Eric> <option debug="true"/> > > Eric> in the ECF file. How does your generated ECF file look like? > > I have this: > > <option trace="false" profile="false" debug="false" warning="true"> > <assertions precondition="false" postcondition="false" check="false" invariant="false" loop="false"/> > </option> > > It seems it also doesn't generate code for debug_tag anymore. I don't know what to say. I just tried the version of gexace currently in Git, using this command: gexace --system=ise system.xace First with the following Xace file: ~~~~~~~~~~ <?xml version="1.0"?> <system name="xace2"> <root class="FOO" creation="make"/> <option name="debug" value="true"/> <cluster name="gefoo" location="${GOBO}/test/src/gexace/data"/> </system> ~~~~~~~~~~ I got this ECF file: ~~~~~~~~~~ <?xml version="1.0" encoding="ISO-8859-1"?> <system xmlns="http://www.eiffel.com/developers/xml/configuration-1-5-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-5-0 http://www.eiffel.com/developers/xml/configuration-1-5-0.xsd" name="xace2"> <target name="xace2"> <root class="FOO" feature="make"/> <option trace="false" profile="false" debug="true" warning="true"/> <setting name="console_application" value="true"/> <cluster name="gefoo" location="${GOBO}/test/src/gexace/data"/> </target> </system> ~~~~~~~~~~ And then with this Xace file: ~~~~~~~~~~ <?xml version="1.0"?> <system name="xace2"> <root class="FOO" creation="make"/> <option name="debug_tag" value="bar"/> <cluster name="gefoo" location="${GOBO}/test/src/gexace/data"/> </system> ~~~~~~~~~~ I got: ~~~~~~~~~~ <?xml version="1.0" encoding="ISO-8859-1"?> <system xmlns="http://www.eiffel.com/developers/xml/configuration-1-5-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.eiffel.com/developers/xml/configuration-1-5-0 http://www.eiffel.com/developers/xml/configuration-1-5-0.xsd" name="xace2"> <target name="xace2"> <root class="FOO" feature="make"/> <option trace="false" profile="false" debug="false" warning="true"> <debug name="bar" enabled="true"/> </option> <setting name="console_application" value="true"/> <cluster name="gefoo" location="${GOBO}/test/src/gexace/data"/> </target> </system> ~~~~~~~~~~ So everything seems to work fine. -- Eric Bezault mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected] http://www.gobosoft.com ------------------------------------ Posted by: Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> ------------------------------------ To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected]