Crazy Idea


openJDK/Java 7 : RFE
August 30, 2007, 12:20 am
Filed under: Uncategorized

Hi There,

Not sure if someone at sun/JCP or those who know how JCP works is listening.

On Windows/Win32, for over 10 years, we’ve had an API called DebugBreak(). At runtime, when the the program calls this function, the OS will prompt the user to activate a (specified) Debugger. For most purposes, this debugger is usually the developer’s IDE like Visual CC++ or Borland C++. If the application has debug symbols and the debugger has the associated sources, then the developer can debug with full source!

When I moved from the Windows to the java world, I’ve been yearning for something like this.  I read (http://today.java.net/pub/a/today/2007/08/09/looking-ahead-to-java-7.html) that it appears that Jdk 7 is currently slated for spring 2009. Given that we have enough time, I’m wondering if there’s enough time to add something like DebugBreak(). I know that not all OS have support to do that. What would it take to do it on Windows where the majority of Java developers live ?

About these ads

1 Comment so far
Leave a comment

You should bring this suggestion to one of the OpenJDK mailing lists, look at the contribution process to see the outline of how to proceed. This probably wouldn’t require a full JSR thingy.

There are various management interfaces like Attach API, JVMTI, and Monitoring and Management which provide similar features.

Comment by David Herron




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s



Follow

Get every new post delivered to your Inbox.

%d bloggers like this: