Wednesday, July 13, 2005

Rational XDE - Geração de Sequence Diagrams

Realmente esta ferramentazita da Rational é interessante. Propõe-se gerar um Sequence Diagram a partir da execução do código, tipo trace. Para isso, tem uma ferramenta que é o Visual Trace.

Infelizmente, ando há uma hora quase louco a tentar perceber porque é que não funciona com as Web Applications. A solução é clara na documentação: engage the ASP.NET monitor. Ora como não existe um ASP.NET monitor em lado nenhum (ou seja, não está no Google...), foi preciso chafurdar no site da IBM, que é bem mauzinho, para desencantar a explicação, no artigo abaixo:

No Trace Diagram for .NET Web Application with Visual Trace


Solution
1) Before opening the web application in question in VS.NET, execute the "aspnetmon.exe" file (usually located in C:\Program Files\Rational\common). This will place a traffic light-like icon in your system tray.
2) Right click on that icon, and select "Engage monitoring for Visual Trace".
3) Open the application in Visual Studio .NET. Engage the Visual Trace functionality from the Purify > Visual Trace submenu. Run the program without debugging, and begin the Visual Trace recording.

0 Comments:

Post a Comment

<< Home