Thanks Kevin!<br>I'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"><<a href="mailto:ksmyth@isis.vanderbilt.edu">ksmyth@isis.vanderbilt.edu</a>></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:"Calibri","sans-serif"">re: debugging transforms:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">GRE.exe can print which Blocks/Rules are being executed. Run the master interpreter on your UmlModelTransformer file, which produces Config.mga. >From the command line, run "c:\Program Files\ISIS\GReAT\bin\GRE.exe" Config.mga -dv<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">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:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">Kevin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <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 <<a href="mailto:lpetnga@gmail.com" target="_blank">lpetnga@gmail.com</a>><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 <<a href="mailto:joe.porter@gmail.com" target="_blank">joe.porter@gmail.com</a>><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're interested in and the proposed rules?<br><br>Thanks,<br>-Joe<br><br>2012/3/1 Léonard PETNGA <<a href="mailto:lpetnga@gmail.com" target="_blank">lpetnga@gmail.com</a>>:<u></u><u></u></p><div><div><p class="MsoNormal">
><br>> Hi everyone! I'm a new user of the GME/GREAT tool suite and I have some<br>> questions for you guys.<br>> 1. I have written a rule containing a pattern including an abstract class<br>> (at level n). I want GREAT to use this rule to create an object based on the<br>
> pattern provided as input. However, in my next rule, I need to get access to<br>> the inherited classes (level n-1) in the next rule ie the real objects<br>> abstracted. Since GREAT does not allow me to represent inheritance (as<br>
> specified in the Metamodel) can I just (in the next rule) connect the real<br>> objects at n-1 to the real one at n+1 as children and parent by bypassing<br>> the abstract class? If no please clarify this point to me. I will also<br>
> welcome any more efficient way to handle this kind of situation.<br>> 2. Is there anyway to "debug" or test the transformation rule by rule prior<br>> to running the Master interpreter?<br>> Thank,<br>
> Leonard<br>><br>><br>><u></u><u></u></p></div></div><p class="MsoNormal">> _______________________________________________<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><br>><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>