Sitemap

Amicuk Programming Answers

Forte Debugger Question - How to break on exception?

-0001-11-30   Views:0

Advertisement

I am running my midlet under Forte Community Edition 3.0, and I am trying to track down a crash. The output window shows that a NullPointerException was thrown, so it should be a simple matter of finding the line with the offending allocation, but I

I am running my midlet under Forte Community Edition 3.0, and I am trying to track down a crash. The output window shows that a NullPointerException was thrown, so it should be a simple matter of finding the line with the offending allocation, but I cant find any way to make the debugger break on an exception. Is this possible?
Thx,
Fred

The replay answer
Advertisement
I'll answer my own question here....the best thing I have found so far is to put a high level catch in the code, then call Exception.printStackTrace in the catch block. Its not ideal, but it helps find the offending code.
Fred

Go to See the other 4 answers

Forte Debugger Question - How to break on exception?

Category:DefaultRelease time:-0001-11-30Views:130

I am running my midlet under Forte Community Edition 3.0, and I am trying to track down a crash. The output window shows that a NullPointerException was thrown, so it should be a simple matter of finding the line with the offending allocation, but I[More]

Re: (forte-users) Question-Minimizing Windows onstartup

Category:DefaultRelease time:-0001-11-30Views:130

I am not sitting in front of a Win95 machine currently, but I think I remember a setting on the Shortcut tab in the Properties notebook about the application, that allows you to Run the app either as 'Normal Window', 'Minimized', or 'Maximized.' /\/\[More]

Re: (forte-users) Question

Category:DefaultRelease time:-0001-11-30Views:130

This is a multi-part message in MIME format. --------------4E6A4194374DC1BDF50CB1A1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I would set the completion event for the display method of the new window and register to t[More]

Forte for JAVA: Problems with break points

Category:DefaultRelease time:2015-10-11Views:130

Dear all, I have the following problem: When setting breaks point within the code of my web application (servlets and JSP) the debugger does not seem to be able to find them and to stop where I would it to :o( When approching a portion of code that I[More]

Debugger Not Stopping at Break Points

Category:DefaultRelease time:-0001-11-30Views:130

Howdy folks, I am trying to debug a rule in which I checkout / modify / checkin a renameUser view. I set some break points at the invoke statements for checking out and checking in. The rule is called from my Update User workflow. I know the rule is[More]

Question about TimeCode breaks

Category:DefaultRelease time:-0001-11-30Views:130

Hopefully the questions will get less!! Having discovered the HV30 can shoot in both HDV and DV mode, I am now trying to capture the scenes, which is going well. However, my ref book goes into quite a bit of detail about the issues of "timecode break[More]

Xcode debugger question

Category:DefaultRelease time:-0001-11-30Views:130

How do i setup the debugger in xcode?The debugger is already setup in Xcode, do you have a specific question?Read other 2 answers[More]

ABAP Debugger Question

Category:DefaultRelease time:-0001-11-30Views:130

Hello, When I debug an ABAP program, is there any way to display a list of names of all the program's internal tables? (global and local) Thx. AndyHi andrew, First Switch to New ABAP Debugger if you are currently using Classic Debugger. In Desktop1 T[More]

How to debugg and put a break-point in End Routine

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, Can anybody suggest how to put a break point in Endroutine in BI.7 Thanks DBHi Bhanu, Please go through these links: How to debug abap code in update rules...routine? debug abap routine in infopackage Debugging of global transfer and update r[More]

Jdeveloper 9i - Debugger Question

Category:DefaultRelease time:-0001-11-30Views:130

Some more info: 1> I start java in debug mode set PATH=d:\jdev9i\jdk\jre\bin;%PATH% cd d:\jdev9i\j2ee\home java -ojvm -XXdebug,detached,port4000 -jar oc4j.jar 2> You'll see the following message: *** Port is 4000 *** *** Connect debugger anytime for[More]

Re: Forte Express Question

Category:DefaultRelease time:-0001-11-30Views:130

I tend to agree with Chris Kelly's earlier posting that the problem is not with date, but rather with the other fields. Forte takes care of date format that Oracle can understand. Oracle's will allow year entry of between -4713 and +4713. Forte chose[More]

Hot
I AM HAVING A PROBLEM WHEN I COMPRESS MY FINAL CUT PROJECT TO A MPEG2 5.0M BPS 2 PASS 120 MIMUTES OF VIDEO WITH DOLBY AUDIO 192 KBPS, WHEN I DRAG THE SETTING AND DESTINATION TO THE TARGET AND SUBMIT, WHEN ITS DOWN I GET NO AUDIO, CAN SOME ONE EXPLAIN [More]
Hi SAP experts, If a reference invoice includes several pricing dates on item level only the first pricing date will be copied into the credit memo request. Example: Invoice includes three items. First item has pricing date 2007-03-01 and item 20/30 [More]
I downloaded iTunes onto my hard drive on my computer but also onto an external hard drive as well. Everything worked fine until I went to open iTunes on my desktop one day and an error window popped up. "Windows - No Disk Exception Processing Messag [More]
Dear Friends, I need to draw horizontal line after the 2nd line item  and 3rd line item in smart forms.How can i achive this. Plz help. Edited by: farook shaik on May 19, 2009 8:19 AMThis is what you need to do: 1> In the tables->details section def [More]
my 80gb disk is full, but i have a 250gb external drive. is there a way to clear the drive on my computer, but have the other information on the external via time machine?Hi, You have a couple of options. You can delete some of the older back ups on [More]
Hi all, I have a scenario like I have to do scanner integration with SAP DMS. i would like to save scanned & pdf printed document directly in system via archivel link. Also I would like to link this archived document with certain objects like plant m [More]
I haven't had any problems with my phone charging. Now, all of a sudden today it says it doesn't recognize the charger and shows a red x  in the battery. I turned it off to see if it would charge that way and nothing happened. The charger is the one [More]
Hi Gurus, My client Import goods from different countries ans kept in Customs bonded warehouse.When requires it draws the materials from the bonded warehouse to minimize the burden of Customs duty and other duties and charges. My question is when it [More]
I have upgraded my AppleTV 3 to firmware 6.0.2 for five weeks but always getting problem in Airplay my ipad2 and wired iMac to Apple TV3. Before that, the Apple TV3 in firmware 5.0 was fantastic in everything. Now, the all-time-sympton of my Apple TV [More]
I just updated my phone and closing the open apps does not work by holding them down to close themThanks!  I learn something new everyday. Read other 8 answers [More]