Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Debugging Blackberry in Netbeans

 
chetan dhewal
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"

build.xml
---------------------------------------------------------------------------------------------------------------------------------------
<?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"/>
</condition>
</target>
<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}"/>
</exec>
</target>
<target name="post-clean">
<delete failonerror="false">
<fileset dir="${platform.home}/simulator">
<include name="**/${name}.*"/>
</fileset>
</delete>
</target>
</project>

---------------------------------------------------------------------------------------------------------------------------------------

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic