This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Debugging Blackberry in Netbeans  RSS feed

Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have been able to integrate Blackberry in netbeans, but unable to debug. The problem is I am able to start debugger through netbeans and the debugger stops at the breakpoints as well, but step by step debugging is not happening nor I am able to see the the variable values, thread etc which comes when you normally debug a j2me app. Debugger jumps from one break point to anothe.
I am using JDE 4.3 and netbeans 6.1 with JDK 6.

Execution Command : cmd /C "cd /D {platformhome}{/}simulator&{device}"
My debug command is : cmd /C "cd /D {platformhome}{/}bin&jdwp"

<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<project name="HttpCon" default="jar" basedir=".">
<description>Builds, tests, and runs the project .</description>
<import file="nbproject/build-impl.xml"/>

<target name="pre-jar">
<available file="${platform.home}/bin/rapc.exe" property="do.rapc"/>
<condition property="jpda.port" value="8000">
<isset property="do.rapc"/>
<target name="post-jar" if="do.rapc">
<exec dir="${platform.home}/simulator" executable="${platform.home}/bin/rapc.exe" failonerror="true">
<arg value="import=${platform.bootclasspath}"/>
<arg value="codename=${name}"/>
<arg value="-midlet"/>
<arg value="jad=${basedir}/${dist.dir}/${dist.jad}"/>
<arg value="${basedir}/${dist.dir}/${dist.jar}"/>
<target name="post-clean">
<delete failonerror="false">
<fileset dir="${platform.home}/simulator">
<include name="**/${name}.*"/>


With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!