× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Java debug session sometimes displays non-readable source.
  • From: "Bruce Jin" <brucej@xxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 2 May 2001 08:58:20 -0500

Sometimes when I debug a Java program I get the source displayed as follows:


                            Display Module Source

 Class file name:   ReadFile
      1          à/ÈÁ ÏÊÑÈÈÁ>                         ø/Ä,/ÅÁ (êä¢ î <ñâ
Ñ_
      2  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
      3  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
      4  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
      5  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
      6  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
      7  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
      8  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
      9  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
     10  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
     11  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
     12  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
     13  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
     14  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ
     15  Ê?ÏË           ÑÃ /ÄÈÑ?>    #     ËÁÊ/ÄÇ            ÊÁÄø?Ë
>?+ÁÌÈ

More...
 Debug . . .


But sometimes the debug is OK. I noticed that this time the CCSID of java
file is 819 and debug does not work. The ones that work have file CCSID 437.
When I try to change the CCSID to 437 with option 5 of F15 in EDTF, the
CCSID comes back to 819 when I reopen EDTF.

Debug procedurs:
1. Compile code with -g
2. CRTJVAPGM with optimize 10
3. RUNJVA with *DEBUG option

Any ideas?

Thanks.
Bruce


+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.