Java tutorial
//package com.java2s; import android.os.Debug; public class Main { private static boolean isDebug = true; /** * Stop method tracing. */ public static void stopMethodTracing() { if (isDebug) { Debug.stopMethodTracing(); } } }