Why jdb can't display the line number?

Hi,
I use jdb to debug HelloWorld.java run on cldc_hi. Where cldc_hi is build ENABLE_JAVA_DEBUGGER=true
I compile HelloWorld.java with -g
And use the same java version when compile and launch
In jdb I input
stop in HelloWorld.main
run
step ...
jdb shows�F
Step completed: Thread1[1] thread="Thread1", java.lang.Class.initialize(), line=-1, bci=180
what cause line gives -1 ?
Thanks very much for any suggestions
gan

I would suggest trying the debugger in eclipse.
This displays each line graphically.

Similar Messages

  • Why teststand can not display the ASCII character which number up to 128?

    Hello All,
            I have encountered a problem on an application for ASCII character,why teststand can not display the ASCII character which number up to 128?
           For example:an expression  Local.xx=Chr(164),
           xx-->string,I can not get the correct string.
           Have any idea for this?
    OS:WinXP,Teststand2012 SP1.
           Thanks a lot.
    Solved!
    Go to Solution.

    dug9000 wrote:
    [...]On Windows 7 at least, the code page setting for the operating system is located in the "Region and Language" control panel in the "Administrative" tab where it says "Language for non-Unicode programs".
    Hope this helps,
    -Doug
    Ah, that explains why i see "European Set"....
    One question, Doug: Obviously, you can select only the localization there. Is this PostScript Characters for all languages? Or is it possible to switch to something like true types, e.g. "Wingdings"? (I know, bad example, but i hope you get the point)
    thanks,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Why iCloud can't display the google map on Mac and PC?

    Hi All,
    I have a problem when I using find my iphone. It can location my iphone positin, but not map diasplay on the function.

    It seems if I use the button which is associated with the dialog the validator works well,but if I use the custom button the error message doesn't display. the environment is 11g.
    the code of the page is :
    <af:form>
    <af:popup id="copyPopupDialog" contentDelivery="lazyUncached">
    <af:dialog title="validator" closeIconVisible="false" type="none">
    <af:inputText id="copyReportsetCode" styleClass="" label="code"
    value="11"
    validator="#{reportSetManagedBean.validatCode}"></af:inputText>
    <f:facet name="buttonBar">
    <af:panelGroupLayout layout="horizontal" halign="right">
    <af:commandButton text="ok"/>
    <af:commandButton text="cancel" immediate="true"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:dialog>
    </af:popup>
    <af:commandButton text="commandButton 1">
    <af:showPopupBehavior popupId="copyPopupDialog"/>
    </af:commandButton>
    </af:form>
    the code of the managedbean is:
    package david;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.validator.ValidatorException;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import java.util.regex.Pattern;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage.Severity;
    public class ReportSetManagedBean {
    public ReportSetManagedBean() {
    public void validatCode(FacesContext facesContext, UIComponent uIComponent,
    Object object) {
    FacesMessage msg = new FacesMessage("eror");
    throw new ValidatorException(msg);
    }

  • How to turn on the line number in NWDS?

    The NWDS is based on the very old version of Eclipse. If you open the java source you can't see the line number. I try toturn it on. How?

    Hi
    If you want to navigate to the specified Line Number you can use the following Short cut
    Ctrl + L  [in NWDS]
    Regards
    Chaitanya.A

  • HT3625 i can not see the line in/built in input on the menu?do you know why?

    i can not see the line in/built in input on the menu?does anyone know why?
    i am trying to broadcast a live dj mixing but with the set up, i cant find the lin in input not even on the menue.
    any clues will be appreciated.

    see shots from '11 to '12 going forward.

  • How can  i  display the Number  instead of  E

    Hello Everyone ;
    I am getting confused. How can i display the Number but the Exponential value is coming as E.
    SQL> select sum(amount_sold) from sales;
    SUM(AMOUNT_SOLD)
    1.1287E+11
    Table details ..
    SQL> desc sales
    Name                                          Null?        Type
    AMOUNT_SOLD NUMBER
    i want to change 1.1287E+11 to "numeric"
    DB : 10.2.0.4
    os : rhel 5.1

    Just a minor correction on an obvious math/responding too fast error: 1.1287E+11 is a 12 digit number. You move the decimal 11 positions to the right which would add 7 zeroes to the value.
    MPOWEL01> l
      1  select length(to_char(1.1287E+11)), to_char(1.1287E+11,'999,999,999,999'), 1.1287E+11 "TEST"
      2* from sys.dual
    MPOWEL01> col TEST format 999999999999
    MPOWEL01> /
    LENGTH(TO_CHAR(1.1287E+11)) TO_CHAR(1.1287E+          TEST
                             12  112,870,000,000  112870000000the problem was that the OP failed to alias the sum result to the formatted column rather than the lenght of the data.
    HTH -- Mark D Powell --

  • I have a question about the new version of itunes. in the old version at the bottom of the sceen it display the total number of media and the size of the files. how can i get the new version to diplay this?

    in the old version at the bottom of the sceen it displayed the total number of media and the size of the files. how can i get the new version to diplay this?

    You're welcome. It was frustrating for me as well until I stumbled across "the fix"

  • HT1349 In the recent version Itunes, I can't find the total number of songs status line in my song library window as before.

    Downloaded the most recent versin of Itunes. Now I can't see the total number of songs in my Itunes library as before. It used to be on a status line at bottom of song Library screen. Where can I view the Total ???

    From the View menu > Select  "Show Status bar...'
    http://osxdaily.com/2012/11/29/5-tips-make-itunes-look-normal/

  • Why I can not change the brightness of the screen 27-inch cinema display. I pulse the f1 and f2 but does nothing.

    Why I can not change the brightness of the screen 27-inch cinema display.
    I pulse the f1 and f2 but does nothing.

    Look in System Preferences > Displays
    See if the brightness is locked.

  • Show the object and the line number, where the error happens in Forms

    Hi!
    Al lot of our programmer use the ugly when others clause to raise messages like "error <sqlcode> happens in ....". Often this hides the really error in some underlying procedures. Is it possible to call the error stack from forms like in 10g database dbms_utility.format_error_backtrace? Actually FRM-40735 hides all this information. This should be work for client and database pl/sql errors!
    With kind regards

    First of all, send every programmer in your organization a message to STOP doing that. I am afraid there is nothing you can do when you have to call some stupid code from your form that contains the when others then... sequence.
    Below is an email I sent out just two months ago. I'll share it with you:
    Hi _______,
    I looked over the _________ package to try to determine why it was so difficult to find the source of the problem. The problem was that the line number reported when the job failed was line 326, which is the Raise command at the end of the __xyz__ procedure.
    When someone writes:
          exception when others then raise;it causes line number reporting to fail when an unexpected Oracle error is encountered. Furthermore, the line does absolutely no good, because Oracle will automatically raise unhandled errors without that code.
    The only thing that code does is cause problems when someone looks for the source of a failure. Without that code, job failures can be located in just a few minutes.
    That same code sequence is repeated three times in the _________ package. The problem may also exist in the __abc___... functions that the _______.lookup_xxxl function calls, since no line numbers were reported from there, either. It would be very helpful if you would remove the problem code, and PLEASE instruct everyone on your staff to never use that sequence anywhere.
    - - - - - - - - - - - - - - - - - - - - - - end of email - - - - - - - - - - - - - - - - - - - - - -
    Now, in addition, you can trap FRM-40735 in your on-error trigger and then display the message found in DBMS_ERROR_TEXT. In fact, you might try the format_error_backtrace from there, too.

  • Can I know the caller number on M127fn printer screen?

    Hello, I configured my fax in printer m127fn to receive both voice calls and fax transmissions (Fax/Tel). When someone is calling, the printer screen show this message (Incoming voice call, Pick up headset) without showing the caller number whether on printer screen or the phone screen itself. My question is can I configure the printer to show up the number of the voice caller? Thank you.

    Hey @MI99,
    Welcome to the HP Support Forums!
    I understand that you would like your HP LaserJet Pro MFP M127fn to display the phone number of who is calling on the display of the printer, rather than just showing 'Incoming Voice call, Pick Up Headset'. This option should work just fine if you subscribe to a Caller ID service from your phone company. As long as you have that Caller ID service on the phone line that the fax and phone share than your HP Laserjet fax machine should display the phone numbers much like a telephone would.
    Please let me know if this clears up any confusion.  Have a nice day!
    X-23
    I work on behalf of HP
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    Click the "Kudos, Thumbs Up" on the right to say "Thanks" for helping!

  • Strange scenario,Oracle can not display the data in mysql correctly

    I use Heterogeneous Service+ODBC to achieve "oracle access mysql"(any other method?),and now i find Oracle can not display the data in mysql correctly:
    -------mysql------------
    mysql> create table tst(id int,name varchar(10));
    Query OK, 0 rows affected (0.00 sec)
    mysql> insert into tst values(1,'a');
    Query OK, 1 row affected (0.00 sec)
    mysql> select * from tst;
    ------------+
    | id | name |
    ------------+
    | 1 | a |
    ------------+
    1 row in set (0.00 sec)
    mysql> show create table tst\G
    *************************** 1. row ***************************
    Table: tst
    Create Table: CREATE TABLE `tst` (
    `id` int(11) DEFAULT NULL,
    `name` varchar(10) DEFAULT NULL
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8
    1 row in set (0.00 sec)
    -------------oracle ------------------
    SQL> select count(*) from "tst"@mysql;
    COUNT(*)
    49
    SQL> select * from "tst"@mysql;
    id
    1
    SQL> desc "tst"@mysql;
    Name Null? Type
    id NUMBER(10)

    You can make the following query on the result page:
    "select * from the_table where movietitle = ? and cinema = ?"
    then you set movietitle and cinema to those which the user selected. If the resultset contains more than 0 rows, that means the movie is available.
    Below is the sample code, it assumes you have a connection to the database:
    PreparedStatement stat = myConnection.prepareStatement("select * from the_table where movietitle = ? and cinema = ?");
    stat.setString(1, usersMovieTitleSelection);
    stat.setString(2, usersCinemaSelection);
    ResultSet res = stat.executeQuery();
    if (res.next()) {
    out.print("The movie is available");
    } else {
    out.print("The movie is not available");
    }Now just add that to your JSP page. Enjoy ! =)

  • Report for displaying the order number & order date..

    HI ALL,
    can any body help me for displaying the order number,customer name,material name & order date..in report
    i dnt know the which are the table i need to use...
    can anybody tell me which are table do i need to use and fields in tables
    input to report from the user are cutomer number,purchase order numbervendor number & sales number
    waiting for positive reply form u people.....
    thanks
    Zabeerulla
    Moderator message: "spec dumping", please work yourself first on your requirement, do some research, talk to a functional consultant near you.
    Edited by: Thomas Zloch on Feb 28, 2011 2:14 PM

    Thx  dharma raj  ...
    problem is ,input to report from the user are cutomer number,purchase order number,vendor number & sales number
    report should contain
    customer name
    order date
    order #
    vendor name
    material name
    can u please tell me which are the table do i need to use...
    i have ,please look into it...let me know if am incorrect
    customer name -> kna1_name where kna1_kunnr=knagv_kunnr
    order date -> vbak_audat
    order nunber->vbak_vbeln
    vendor name -> LFA1_NAME where LFA1_LIFNR=MEPO_TOPLINE(superfileld)
    material # -> VBAP_ARKTX where VBAP_VBELN=VBAK_VBELN
    HELP ME OUT...
    THX
    ZABEER

  • How can I display the vendor associated with result of my running total sum

    I have a report that lists vendors with their most vecent order dates.  I need to set up a rotation so that the vendor with the latest order date is next to be selected.  I used the running total summary to pick the latest date.  How can I display the vendor associated with result of my running total summary?

    If your "latest" order date means the "oldest" order date, why don't you try this:
    Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
    This will make your oldest order your first record shown. 
    You can then create a running total count for each record.
    Lastly, in your section expert under conditional suppress X+2 formula, write this:
    {#CountRecords}>1
    The result will only show the oldest record in your report.
    I hope that helps,
    Zack H.

  • How can i remove the phone number from the text messages that i receive in the notification center

    how can i remove the phone number from the text messages that i receive in the notification center?

    You choose whether to see text messages in Notification Center or not.  If you elect to see them, they will display the phone number (unless they are from a contact in your contacts list).
    You can choose not to see them at Settings > Notification Center > Messages.

Maybe you are looking for

  • Hi is it possible to un use a gift card

    I want the money back on the card and i havent used it yet Please tell me its possible to un redeem a gift card I wanna give it to someone else

  • 'Please wait while Windows Configures'

    On several types of documents, including movie files, sound files, excel sheets, and powerpoint, any time I left- or right-click my computer brings up a window saying "Please wait while Windows Configures Macromedia Contribute 3". This box stays up u

  • Asset number fetching wrongly from another asset class

    Dear all, We have created asset under asset class - furniture & fittings for which no. range starts from 61000... but asset no. created starts with no. 60000.. . Checked asset number range but all no. ranges are defined. Where we are missing ? Why it

  • Is it possible to download Adobe flash on a Samsung Galaxy s4 mini

    I have tried on multiple occasions on how to download Adobe flash player on my device following this devices steps but can't seem to get it to work

  • Data Model panel is blank!!!!

    Hello everyone, My XMLForms Builder seems to be ok, but for some reason, the Data Model panel (that one where we rename and create XML nodes) is blank. Even if I open an existing project it's showing all blank. My user has super_admin role, content m