« Back | Main | How to add JDK 1.5 API Reference to JDeveloper 10.1.3 »

The debugger only displays the first 100 characters in String variables

Steve writes in a comment:

"(...) if you look at a string in the debugger trace window, it is truncated..
so if you happen to have a very long sql statment in hte string , or cannot view it, or even edit it"

Indeed, that's correct: as for any array, the debugger will only show 100 elements at a time, for performance reasons, as it may be very expensive to send an unlimited value from the debuggee process to the debugger.

However, you can see the whole String value and edit it.
See more in this article.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on May 2, 2006 3:06 PM.

The previous post in this blog was Back.

The next post in this blog is How to add JDK 1.5 API Reference to JDeveloper 10.1.3.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle