Book a Demo

Author Topic: Silverlight Debugging/Auto-Generation of SDs  (Read 4953 times)

Chris Lunemann

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Silverlight Debugging/Auto-Generation of SDs
« on: March 05, 2010, 06:09:21 am »
Anyone ever try to link in code via EA with running code in Silverlight?

Trying to actually auto-generate diagrams for the C# source code.  I was successful in setting up a debug script via attach to process (Internet Explorer) and can see the debug output coming in….but it does not recognize any breakpoints or recording statements.

I am able to do a very similar process in Visual Studio and all works fine…but how to get EA to do the same???

Not sure if I have an issue, doing something wrong....or this simply doesn't work/isn't supported.

Chris  :-[

Chris Lunemann

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Silverlight Debugging/Auto-Generation of SDs
« Reply #1 on: January 15, 2011, 08:48:25 am »
Back to trying this again....still no luck...
 :'(

Chris Lunemann

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Silverlight Debugging/Auto-Generation of SDs
« Reply #2 on: January 15, 2011, 09:00:07 am »
Here some detail:
Multiple projects, as sub-directory of directory X.
copy xap from each (directoryX\ProjectX\Bin\Release\*.xap) to common folder - Deliverables.
FTP contents of Deliverables to Linux Web Server (/srv/http)
Connect to Web-Server via Attach to Process - Internet Explorer, for example.
Visual Studio can hit any breakpoint set in any project.
Enterprise Architect can see output, but can not hit any breakpoint set in any probject.
Source code in VS and EA is the same.  Entire Class Model built and EA is synchonized.

Chris Lunemann

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Silverlight Debugging/Auto-Generation of SDs
« Reply #3 on: January 18, 2011, 04:29:51 am »
I assume the problem is with the linkage to the source itself.

In the Debug definition, Attached to Process fills in Internet Explorer path.  In my case: C:\Program Files\Internet Explorer\iexplore.exe

Default directory when you connect comes up the same....

A runtime variable setting is likely what is needed to repoint to the source, but unable to come up with anything that works.  I have put the path into where all symbol and dll files are...but no go.    :-?

Chris Lunemann

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Silverlight Debugging/Auto-Generation of SDs
« Reply #4 on: January 19, 2011, 10:02:30 am »
Due to lack of replies, I am going to assume this is a real bug and does not work.  I have to move on and work the documentation manually...

When I originally filed this (about 10 months ago), I was all on completely supported versions:  EA 7.X, MDG 4.X and VS 2008.  (Did not work then either.)

I am now on EA 8.X, MDG 4.5 Beta 2 and VS 2010...and still does not work...(don't blame it just on the beta and later releases..)

Feel free to contact me over the next couple of weeks, as I have some time to do any debugging you would wish to capture.  (It will likely take me at least a month if not more to manually document and update all of my use case diagrams.) ::)

Chris

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Silverlight Debugging/Auto-Generation of SDs
« Reply #5 on: January 19, 2011, 11:04:34 am »
Please bear in mind that this is a user forum, to report the bug to sparx systems you need to use the bug report form.

I have never used silverlight let alone tried to debug it in EA.

Chris Lunemann

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Silverlight Debugging/Auto-Generation of SDs
« Reply #6 on: January 19, 2011, 11:03:37 pm »
Thanks Simon, will do.  ;)

Chris Lunemann

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Silverlight Debugging/Auto-Generation of SDs
« Reply #7 on: March 03, 2011, 11:00:15 pm »
FYI for anyone watchint this thread or who finds it in the future.

The end result of the bug report was that EA does not currently support debugging Silverlight code (and hence no recording markers either to support Auto-Generation of SDs).

If you want Sparx to add support for this in a future release, please submit a feature request at: http://www.sparxsystems.com/support/feature_request.html

The more requests they get, the more likely they will implement support for it in the future.

Chris