gennaio 9, 2009

My Dynamics AX pains and tools :-)

Pubblicato in: MS Dynamics a 12:05 am di robertoch

My boss ask my to fix a complex bug on Dynamic AX module, that’s a great challenge for me: I do not know anything on AX and X++…

My approch was the following:

  • - understand X++ syntax
  • - analyze the code… that’s relay painful, thousand of undocumented/not commented lines of code! (and AX IDE is not so smart)

I tryed with differnet and more confortable approach: parse source code and implement a code analizer in order to get detailed info.

  1. - class diagram
  2. - types references dependency
  3. - approximate a sequence diagram

The tool I’m developing in based on .NET and GoldParser, my first resut afrer 3 days is:

I have X++ (quite completed) grammar on gold parser

I have a grammar tree on a .NET model

I have a complete class definition, included fields an local variables definitions.

 

My next steps will be:

- write a types dependency analyzer tool

- write a graphical rappresentation with WPF

- write a sequence diagram analyzer and a graphical representation (may be too complex)

Lascia un Commento

Fill in your details below or click an icon to log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Log Out / Modifica )

Foto Twitter

You are commenting using your Twitter account. Log Out / Modifica )

Foto di Facebook

You are commenting using your Facebook account. Log Out / Modifica )

Connecting to %s

Follow

Get every new post delivered to your Inbox.