Thanks Kevin!<br>I&#39;ve already tried with Visual Studio. I took note and will test the other options as well.<br>Thanks<br>Leonard<br><br><div class="gmail_quote">2012/3/7 Kevin Smyth <span dir="ltr">&lt;<a href="mailto:ksmyth@isis.vanderbilt.edu">ksmyth@isis.vanderbilt.edu</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">re: debugging transforms:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">GRE.exe can print which Blocks/Rules are being executed. Run the master interpreter on your UmlModelTransformer file, which produces Config.mga. &gt;From the command line, run &quot;c:\Program Files\ISIS\GReAT\bin\GRE.exe&quot; Config.mga -dv<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">printf/cout statements in AttributeMappings can provide a quick way to provide some diagnostics.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">You can debug GRE.exe and set breakpoints in your AttributeMapping code located in %TEMP% \GReAT\. Another option is to use the Code Generator, then debug the resulting transform exe in Visual Studio. <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">You can try the GReAT debugger: C:\Program Files\ISIS\GReAT\bin\grd.exe. It is hard to use, however.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Kevin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:great-users-bounces@list.isis.vanderbilt.edu" target="_blank">great-users-bounces@list.isis.vanderbilt.edu</a> [mailto:<a href="mailto:great-users-bounces@list.isis.vanderbilt.edu" target="_blank">great-users-bounces@list.isis.vanderbilt.edu</a>] <b>On Behalf Of </b>Léonard PETNGA<br>
<b>Sent:</b> Friday, March 02, 2012 12:25 PM<br><b>To:</b> great-users<br><b>Subject:</b> Re: [great-users] Handling of abstract classes and transformationdebugging<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">Sorry, I forgot to attach the file...<u></u><u></u></p><div><p class="MsoNormal">2012/3/2 Léonard PETNGA &lt;<a href="mailto:lpetnga@gmail.com" target="_blank">lpetnga@gmail.com</a>&gt;<u></u><u></u></p>
<p class="MsoNormal">Hi Joe,<br>Please find the requested information in attachment.<br>Thank you!<br>Leonard<u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">
2012/3/1 Joe Porter &lt;<a href="mailto:joe.porter@gmail.com" target="_blank">joe.porter@gmail.com</a>&gt;<u></u><u></u></p><p class="MsoNormal">Leonard,<br><br>Can you post a few screen capture images of the metamodel structure<br>
you&#39;re interested in and the proposed rules?<br><br>Thanks,<br>-Joe<br><br>2012/3/1 Léonard PETNGA &lt;<a href="mailto:lpetnga@gmail.com" target="_blank">lpetnga@gmail.com</a>&gt;:<u></u><u></u></p><div><div><p class="MsoNormal">
&gt;<br>&gt; Hi everyone! I&#39;m a new user of the GME/GREAT tool suite and I have some<br>&gt; questions for you guys.<br>&gt; 1.  I have written a rule containing a pattern including an abstract class<br>&gt; (at level n). I want GREAT to use this rule to create an object based on the<br>
&gt; pattern provided as input. However, in my next rule, I need to get access to<br>&gt; the inherited classes (level n-1) in the next rule ie the real objects<br>&gt; abstracted. Since GREAT does not allow me to represent inheritance (as<br>
&gt; specified in the Metamodel) can I just (in the next rule) connect the real<br>&gt; objects at n-1 to the real one at n+1 as children and parent by bypassing<br>&gt; the abstract class? If no please clarify this point to me. I will also<br>
&gt; welcome any more efficient way to handle this kind of situation.<br>&gt; 2. Is there anyway to &quot;debug&quot; or test the transformation rule by rule prior<br>&gt; to running the Master interpreter?<br>&gt; Thank,<br>
&gt; Leonard<br>&gt;<br>&gt;<br>&gt;<u></u><u></u></p></div></div><p class="MsoNormal">&gt; _______________________________________________<br>&gt; great-users mailing list<br>&gt; <a href="mailto:great-users@list.isis.vanderbilt.edu" target="_blank">great-users@list.isis.vanderbilt.edu</a><br>
&gt; <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users" target="_blank">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a><br>&gt;<br>_______________________________________________<br>great-users mailing list<br>
<a href="mailto:great-users@list.isis.vanderbilt.edu" target="_blank">great-users@list.isis.vanderbilt.edu</a><br><a href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users" target="_blank">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div><br>_______________________________________________<br>
great-users mailing list<br>
<a href="mailto:great-users@list.isis.vanderbilt.edu">great-users@list.isis.vanderbilt.edu</a><br>
<a href="http://list.isis.vanderbilt.edu/mailman/listinfo/great-users" target="_blank">http://list.isis.vanderbilt.edu/mailman/listinfo/great-users</a><br>
<br></blockquote></div><br>