Difference between revisions of "Acceleo/Debugger"

From Eclipsepedia

Jump to: navigation, search
(Acceleo debugger)
 
(The Acceleo debugger with a screenshot)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 
= Debugger =
 
= Debugger =
Acceleo contains a debugger that can be used by launching the generation with the "Debug As..." menu instead of the "Run As..." menu. If you are using the Acceleo Plug-In Application launch, the Acceleo debugger will be used, if you are using the Java Application launch then the Java debugger will be used instead.
+
Acceleo contains a debugger that can be used by launching the generation with the "Debug As..." menu instead of the "Run As..." menu. If you are using the Acceleo Plug-In Application launch, the Acceleo debugger will be used, if you are using the Java Application launch then the Java debugger will be used instead. It should be noted that with the Java Application launch you have to manually register your EMF packages. Acceleo will try its best to register any packages used in your module but if an error saying "Package with uri ... not found" is logged, you may have to improve that package registration process. Please see the [[Acceleo/FAQ|FAQ]] for more details on the subject.
 +
 
 +
The Acceleo debugger works like the Java debugger. As such, it allows you to place breakpoints and to move instructions by instructions in the execution of your module. You can also see the state of all your variables.
 +
 
 +
[[Image:Acceleo-debugger.png|thumb|none|600px|The Acceleo debugger.]]
 +
 
 +
 
 +
{{Acceleo-index}}
 +
 
 +
[[Category:Modeling]]
 +
[[Category:M2T]]
 +
[[Category:Acceleo]]

Latest revision as of 15:55, 12 January 2011

[edit] Debugger

Acceleo contains a debugger that can be used by launching the generation with the "Debug As..." menu instead of the "Run As..." menu. If you are using the Acceleo Plug-In Application launch, the Acceleo debugger will be used, if you are using the Java Application launch then the Java debugger will be used instead. It should be noted that with the Java Application launch you have to manually register your EMF packages. Acceleo will try its best to register any packages used in your module but if an error saying "Package with uri ... not found" is logged, you may have to improve that package registration process. Please see the FAQ for more details on the subject.

The Acceleo debugger works like the Java debugger. As such, it allows you to place breakpoints and to move instructions by instructions in the execution of your module. You can also see the state of all your variables.

The Acceleo debugger.



Acceleo Portal
Project Project · Installation · New & noteworthy · Release review · API policy · Retention policy · Next · Checklist
Features Acceleo Features · Runtime · Acceleo editor · Views & Perspective · Debugger · Profiler · Traceability · Wishlist · Interpreter · Maven
User documentation Getting Started · Acceleo operations reference · OCL operations reference · Text Production Rules · Migration From Acceleo 2.x · Best Practices · Videos · FAQ
Developer documentation Source code · How to contribute · Compatibility · MOFM2T specification · OCL specification
Community Conferences · Twitter & Blogs · Professional Support · Report a bug