1
Automation Interface, Add-Ins and Tools / Re: Add-In Debugging from VS2010
« on: January 25, 2011, 08:05:32 pm »Quote
Now the start external program way of debugging works again.Thank you Colin - this works perfectly well!
Cheers
Janosch
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Now the start external program way of debugging works again.Thank you Colin - this works perfectly well!
- Use Debug|Attach to Process and choose EA.exeThis procedure works for me now too - and even my Diagnostics.Debug.WriteLine() messages are appearing in the Output view again.
That is what I meant by debugging.Alright, so it must somehow work for me as well...
I never had issues with that in VS2010.
I suppose you compiled in debug mode?Exactly. I'm running Visual Studio 2010 in administrator mode on Windows 7, 64bit. The EA version is 7.5.
Repository.ReloadDiagram(Repository.GetCurrentDiagram().DiagramID);
EA.Diagram diagram = Repository.GetCurrentDiagram();
Collection objects = diagram.DiagramObjects;
foreach (Object o in objects)
{
IDiagramObject dObject = (IDiagramObject) o;
dObject.Style = "BCol=35723;BFol=9342520;LCol=9342520;LWth=10;";
dObject.Update();
}
diagram.Update();
objects.Refresh();