To debug Java Actions used in a Mendix Microflow you need to make some configuration changes to the way you start the Mendix runtime.
Add the following in your project settings, in server configuration add the following to Extra JVM parameters:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005
Start your application in Mendix.
In your Java IDE you need to configure remote debugging. The following screenshot shows my configuration in IntelliJ
Start the debugger, put some breakpoints in your java code, and start debugging.
JProfiler is a Java profiler which can give you insight into what a running application is doing: which methods are consuming the most cpu, how many objects are created, etc. Jprofiler also shows you information about jdbc calls and sql statements executed by your java application.
Setting up Jprofiler to profile a Mendix runtime is easy, you can start profiling a running Mendix runtime, without reconfiguration or restarting the application.
The installation guide provides a more complete manual, but the basic steps are:
Here are some screenshots:
Tijdens het LAC-2013 heb ik een presentatie verzorgd over Dynamische Architectuur Visualisatie. Tijdens deze presentatie heb ik laten zien hoe ik schetsen in SVG formaat gebruik als visuele ondersteuning van een presentatie. De svg versie van deze presentatie zie je hieronder. De volgende pagina biedt de mogelijkheid om slides van de presentatie te bookmarken, of the mailen: Dynamische Architectuur Visualisatie. Source code van de library staat op github: Inkscape presenter.