Shop OBEX P1 Docs P2 Docs Learn Events
Run without debugger — Parallax Forums

Run without debugger

Dan DavisDan Davis Posts: 18
edited 2008-02-25 16:45 in General Discussion
Hi Peter,

Hope you had an enjoyable weekend.

Is it possible to get the Javelin running - without the debugger - but still able to access the serial port.

Meaning, I do not care for using breakpoints, stepping, or anything like that, but I would still like to use System.out.println to send characters to my serial port. Is this possible?

Best regards,

Dan

Comments

  • Robot FreakRobot Freak Posts: 168
    edited 2008-02-25 16:08
    I'm not Peter, but I can answer your question smilewinkgrin.gif

    Instead of using the "Debug" button, use the "Program" button to program the Javelin.
    You can still send debug messages with "System.out.println".

    Kind regards,
    Robot Freak
  • Dan DavisDan Davis Posts: 18
    edited 2008-02-25 16:14
    Thanks! Peter knows from some other posts that I was having trouble with my serial port and the debugger. My next question would be, will this remove my errors in executing my program? I was getting some IDE errors that we think has to do with my crappy Dell serial port. I would think that, if I'm not debugging, these would no longer appear. Any error on the serial port would simply mean I do not receive the data from System.out.println. Can anyone confirm this?

    Thanks,
    Dan
  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2008-02-25 16:33
    Communication between the IDE message window and the javelin is done
    in packets. If you have troubles with receiving some of those packets
    will be corrupted and simply discarded, meaning nothing will be printed
    to the IDE message window.

    regards peter
  • Dan DavisDan Davis Posts: 18
    edited 2008-02-25 16:45
    Music to my ears. Thanks for your help.

    Dan
Sign In or Register to comment.