Debugging – the most effective way to debug on a BlackBerry device?

I am looking for the fastest and most effective way to debug my java application BlackBerry

I noticed that in my case, using Torch 9800, you just need to connect the debugger to the device Do I have to attach each time I modify the code separately, or is there a better way?

I also noticed that in the console, the device seemed to be printing something I didn't care much about Screening all this can really be painful Is there any way to view only the content related to my application in the console, specifically the content printed by myself?

Solution

>Eclipse debugger and analyzer, in most cases - the best solution, but in some cases, it does not help to find out what is the source of the problem

System. out. println(“!!!!!!!!!!!!!!!!!!!!!!! myVar value =”myVar);

Or that:

System.out.println("#############################################");
System.out.println("############# object1: " + object1);
System.out.println("############# object2: " + object2);
System.out.println("############# object3: " + object3);
System.out.println("#############################################");

When there is a large amount of debugging data in the console, just copy all console text to a text editor (such as Notepad + +) and process it in it

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>