Doxygen freezes Generating docs for compound - doxygen

I'm trying to generate the documentation from an ASP.NET project. I'm using Doxygen 1.8.13 (64bit) on windows 10.
Processing seems to have stopped (for at least the last 2 hours) and the process shows the following :
Generating docs for compound COMPANY_NAME::PRODUCT_FAMILY::WebServices::SERVICE...
It has successfully generated other docs - it just seems to freeze when it reaches this point - have tried multiple times.
I've tried running with the -b undocumented flag, but I have no idea what is causing this issue. The project contains references to c# projects and MVC / ASP.NET System assemblies.
How can I get a more detailed output from doxygen to see why this is taking so long? I realise that this question doesn't give a lot of information - but I really don't know how to find
I have been able to test doxygen on a smaller c# asp.net mvc website, and it semms to work ok.

Related

How to make a Github action pipeline to build, test (gtest), and document (doxygen?) C++

I'm wanting to create a pipeline on Github for a C++ project that will build, test, and document it. The project is supposed to be compiled with GNU Make, but for now, it can be done using CMake as I can change it later. I want it to run tests using google test and also automatically create documentation for it (I've used Doxygen in the past which nicely makes HTML formatted documentation from your comments).
I've tried to get this working and used a bunch of different yaml files I've found online, but I can't get it working exactly right. The best I've been able to do is get it to build and for the tests to run, but I can't get the automatic documentation to work. Doxygen is reliant on a Doxyfile to configure it, but I'm not sure of a simple way to configure it (stuff I've found online seems overly complicated for what I want). I'm open to using a different method for automatically generating documentation if there's one that would work better.

For CheerpJ script: Using both <cheerjp-applet> and <applet> on same page

I began a very helpful discussion with Alessandro Pignotti (#alexp-sssup) on
https://gitter.im/leaningtech/cheerpj?at=5f189bf76279c91f420801af
about how to get Java applet byte-code to work with CherrpJ in present-day browsers.
Hopefully the two examples referenced there in this post can serve as a guide to others who might also be struggling with getting the basics of java applet conversion with CheerpJ going.
As I mentioned there I would, I am now putting this follow-up question in stackoverflow:
I was hoping to get this page to work in which I am trying to run the same byte-code with both the <cheerjp-applet> and <applet> tags on the same page. However the page never loads properly. The best I can achieve is (with page loading seeming to hang) to force some hung script to stop, which then often ends up bringing the CheerjP button up, but I have yet to the get button in the original applet to show on the same page (in a java-enabled browser-setup where the legacy applet does work properly from this page). Sometimes the browser completely hangs before even the Cheerpj script gets to work.
So my question is: Is what I am attempting even possible, and if so what could be wrong with this first attempt of mine?
P.S.: The stackoverflow tag [cheerpj] does not exist, so the suggestion on Gitter to use it fails for me: I don't have a reputation of 1500 :( !!! Since a pretty thorough web search has revealed very little in-depth technical discussion about CheerpJ besides what's in the Gitter CheerpJ room I reference at the start of this post, I am not sure how far the attempt to move discussion in to stackoverflow is going to go.
What you are trying to achieve is not supported by CheerpJ. When CheerpJ starts it will automatically replace any <applet>, <object> or <embed> tag containing Java applets and execute them internally. The special prefixed tags, such as <cheerpj-applet> are designed to avoid accidental execution by the native plugin if installed.
We don't plan to support this use case in the future since for the vast majority of users the native Java plugin does not work anymore anyway.
You may consider using two <iframe> tags to get the behavior you want using 2 independent pages.

MVC.NET Razor views rendering differently across deployments

I have a razor view in an MVC4 project that treats the same input differently in two different environments. I have a script block within an MVC section.
At my live deployment, whenever I create a less than comparison (if(a < b)), the < will be interpreted as a HTML block, and the section will render in a weird manner. Currently, I have to use Html.Raw("<"). At my development machine, I do not have this issue.
I'm sure there's a simple answer to why razor doesn't realize that the < is part of my javascript, but right now, I'm only interested in why the behavior would be different across delpoyments. I know both setups are running razor v2, since new features like conditional attributes are working in both.
What could be the cause of discrepancies such as this?
Check the file version of System.Web.Razor.dll in both environments and see whether it's 2.0.20715 in both places. We did release an update to Razor v2 that's included in the MVC 4 installer via Web PI, but isn't in the box in Visual Studio 2012, which might account for the difference in behavior that you're seeing.

Regarding Eclipse Command Frame Work

We are developing a RAP(Rich Ajax Platform) application using Helios 3.6 Version of Eclipse.Here, we are using Command Framework which uses Eclipse Modeling Frame Work.
When a command gets executed ,getMostAffectedObject() returns us the most recently affected Model Object that got modified due to the execution of command.
My question is "How's the most recently changed changed Model object identified by command framework " ?
Please help me regarding this.
Which model objects are affected is implemented in the command itself.
e.g. take a look at the following classes:
org.eclipse.emf.edit.command.AddCommand.doGetAffectedObjects()
org.eclipse.emf.edit.command.SetCommand.doGetAffectedObjects()

ActiveReports Upgrade Error

I just upgraded from ActiveReports 2.0 to 3.0. All rpx files have been converted to *.vb files. The ActiveReports project has this class hierarchy:
*.vb with designer -> PrintBase.vb -> ActiveReport3
When I opened any of the *.vb files, I got this error:
The designer could not be shown for this file because none of the classes within it can be designed. The designer inspected the following classes in the file: xxx --- The base class 'PrintBase' could not be loaded. Ensure the assembly has been referenced and that all projects have been built.
Call stack:
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager manager)
at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager)
at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager)
at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host)
Then I went through PrintBase.vb. There was no compile error. Then I modified one of the *.vb files to this:
Hello.vb -> ActiveReport3
The designer worked without any problems. The PrintBase has quite a bit of code. To simplify the debugging, I created a new .vb file called BasePrint that inherits from ActiveReport3. So, the hierarchy is back to:
Hello.vb -> BasePrint -> ActiveReport3
Then I saw the same error above again. It seems like AR3 designer does not allow .vb files to inherit from a base class according to my debugging. But I am not quite sure. BTW, the ActiveReports project is vb.net. There are other C# projects under a VS 2008 project solution. Is the mixing of VB.NET projects and C# have anything to do the miagration / upgrade process?
Thanks.
Indeed, the class-style inheritance was not supported by the upgrade utility in the ActiveReports 3.x designer. However, after an upgrade is complete you should be able to put the base class bad (the way that you described) and the designer should safely ignore it. If you're still having problems try to close the project, do a clean (delete the old assemblies that might be referncing the old PrintBase class) & close visual studio and reopen it again to get a fresh start.
You can find more information about upgrading reports from ActiveReports 2.x to ActiveReports 3.x at the following page: link text
However, it seems you are using inheritince in this case to share some utility methods and maybe some state (e.g. in class-level fields maybe). For this it is best if you have your reports inherit directly from ActiveReport3 and use "BasePrint" as a sort of utility class that your reports call functions in. Normally this has no disadvantage other than having to prefix the method calls with the name of the corresponding BasePrint instance/variable name and it simplifies dealing with ActiveReports designer in the scenario you describe.
However, ActiveReports does support a visual inheritence that allows a base report to share controls with a derived report. There is more information on how to use this feature at the following location: http://www.datadynamics.com/Help/ARNET3/ar3tskInheritance.html. However, I want to stress that this is a different style of inherience than you are using so it may not be applicable to what you need.
Also, you should try to convert again without having a combined solution with C# and VB projects. I don't know that this is a problem but it is certainly not the most common way the converter is used and may be complicating things.
Finally, you should be aware that ActiveReports 6 is now available and you may want to consider trying out that version.
If you continue to have any problems please contact our support team at support#grapecity.us.com or use our public forms that have many ActiveReports experts monitoring them every day at the following links:
http://www.datadynamics.com/forums/73/ShowForum.aspx - ActiveReports 3 Forum
http://www.datadynamics.com/forums/82/ShowForum.aspx - ActiveReports 6 Forum
Scott Willeke
GrapeCity / Data Dynamics