Exforsys

Online Training

Debugging Code

This is a discussion on Debugging Code within the Java forums, part of the Programming Talk category; My Java application code has lot of java.langRunnable. I want to debug this code. Is there any way or ...


Go Back   Exforsys > Programming Talk > Java

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-02-2007, 04:32 PM
Senior Member
 
Join Date: Apr 2006
Posts: 153
cyrus is on a distinguished road
Debugging Code

My Java application code has lot of java.langRunnable. I want to debug this code. Is there any way or hint I can use for this code since the code has lot of java.langRunnable.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-10-2007, 09:26 AM
Senior Member
 
Join Date: Apr 2006
Posts: 145
Rahulbatra is on a distinguished road
To handle the debugging process of code which has lot of java.langRunnable you can have a runnable that keeps track of the stack trace. The runnable keeps track of this as soon as it gets created and this maintained by the stack trace and returned to the console as needed by saving it as string format. I have given the logic above for handling this problem. Try out and let me know if you need further help in coding this problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Request for interview question for Testing (QA) wildkid98 Testing Tutorials 17 04-23-2008 05:24 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 06-01-2004 07:00 AM
comp.cad.autocad AutoLISP FAQ (part 1/2) - general Reini Urban Tech FAQ 0 06-01-2004 06:30 AM
Comp.software-eng FAQ (Part 0): periodic postings and archives David Alex Lamb Tech FAQ 2 05-23-2004 06:15 AM
comp.cad.autocad AutoLISP FAQ (part 1/2) - general Reini Urban Tech FAQ 0 05-01-2004 06:30 AM


All times are GMT -4. The time now is 06:00 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2004 - 2007 Exforsys Inc. All rights reserved.