DTrace + NetBeans IDE + Python
Once you have installed the DTrace plugin, open Window > DTrace and in the Toolkit tab, choose Python:
You can see the various D scripts there. Let us take the script, ‘py_calltime.d‘, which will collect and display the time in us taken by each function call for a particular running Python process, whose PID you can supply during the run of the script, or start a Python process.
Here is a sample output:
With the ever developing Python support for NetBeans, you can start having some fun with Python, NetBeans and DTrace.