This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes What are the executable lines of code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "What are the executable lines of code " Watch "What are the executable lines of code " New topic
Author

What are the executable lines of code

Mathew Lee
Ranch Hand

Joined: Jun 08, 2009
Posts: 238
Hi,

What are the executable lines of code infront of which i can put the break point to debug through say RAD/eclipse
( I came to know that
response.getWriter().println(new Date());
is a not executable code. not sure why)
Is there is non executable code as well? if so what are the differences between them.
Any links, ideas, sample code, resources highly appreciated. Thanks in advance
Greg Charles
Sheriff

Joined: Oct 01, 2001
Posts: 2901
    
  12

It definitely is executable. What may be happening is that Eclipse isn't running through its internal build cycle, or it's not updating some indexes, or something like. Therefore, it's confused about what is actually on the line that you marked. If you are doing an external build and just attaching the debugger to an external process, the breakpoint should still work, despite what Eclipse says.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What are the executable lines of code
 
jQuery in Action, 3rd edition