My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!-- -->
<!-- Copyright 2009 Google Inc. -->
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you -->
<!-- may not use this file except in compliance with the License. You may -->
<!-- may obtain a copy of the License at -->
<!-- -->
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
<!-- -->
<!-- Unless required by applicable law or agreed to in writing, software -->
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -->
<!-- implied. License for the specific language governing permissions and -->
<!-- limitations under the License. -->

<!-- Defines support for emulating the JS stack -->
<module>
<inherits name="com.google.gwt.core.Core" />

<!-- Legacy property. Do NOT use. See 'compiler.stackMode' instead. -->
<define-property name="compiler.emulatedStack" values="true,false" />
<set-property name="compiler.emulatedStack" value="false" />

<!-- If set to true, this will add line number data to the stack trace data -->
<define-configuration-property name="compiler.emulatedStack.recordLineNumbers"
is-multi-valued="false" />

<!-- Implies recordLineNumbers and adds source file name data to emitted JS -->
<define-configuration-property name="compiler.emulatedStack.recordFileNames"
is-multi-valued="false" />

<!-- if set to 'strip', stack information can be removed or corrupted -->
<define-property name="compiler.stackMode" values="strip,native,emulated" />
<set-property name="compiler.stackMode" value="native" />
<set-property name="compiler.stackMode" value="emulated" >
<when-property-is name="compiler.emulatedStack" value="true" />
</set-property>

<replace-with
class="com.google.gwt.core.client.impl.StackTraceCreator.CollectorEmulated">
<when-type-is class="com.google.gwt.core.client.impl.StackTraceCreator.Collector" />
<when-property-is name="compiler.stackMode" value="emulated" />
</replace-with>
</module>

Change log

r10469 by fre...@google.com on Jul 25, 2011   Diff
Update XML doc to make it clearer that
'compiler.emulatedStack' should no longer
be used.

Review at http://gwt-code-
reviews.appspot.com/1462804

Review by: robertvawter@google.com
Go to: 
Project members, sign in to write a code review

Older revisions

r9344 by fre...@google.com on Dec 2, 2010   Diff
Modify EmulateJsStack.gwt.xml and
CoreWithUserAgent.gwt.xml to test
whether the new 'compiler.stackMode'
configuration property is set to
'emulated', rather than testing the
...
r7587 by sp...@google.com on Feb 16, 2010   Diff
Reitveld: http://gwt-code-
reviews.appspot.com/89810

Changes normal GWT vtable setup from

...
r5971 by b...@google.com on Aug 17, 2009   Diff
Rework stack trace emulation flag.

Patch by: bobv
Review by: bruce
All revisions of this file

File info

Size: 2435 bytes, 44 lines

File properties

svn:mime-type
application/xml; charset=us-ascii
Powered by Google Project Hosting