How to show --verbose info with LeJOS plugin [SOLVED]

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

How to show --verbose info with LeJOS plugin [SOLVED]

Postby esmetaman » Sun Oct 30, 2011 12:16 pm

Hi,

I am using latest LeJOS Plugin for Eclipse (0.9.0.201106192010) and I don't know how to show --verbose information when I send a code to NXT brick. i would like to show that info to debug in a better way programs.

I used all options about verbose in the plugin, but i didn't see that info.

Any idea to solve the problem?

Cheers
Last edited by esmetaman on Sun Oct 30, 2011 4:59 pm, edited 1 time in total.
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Re: How to show --verbose info with LeJOS plugin

Postby esmetaman » Sun Oct 30, 2011 12:29 pm

Now, my plugin settings are:

Image

and eclipse console output is:

project HelloWorld now is a leJOS NXJ project
Initializing LeJOS JDK at /usr/local/lejos
program has been linked successfully
uploading ...
leJOS NXJ> Upload successful in 3133 milliseconds
program has been uploaded
program has been linked successfully
uploading ...
leJOS NXJ> Upload successful in 3149 milliseconds
program has been uploaded
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Re: How to show --verbose info with LeJOS plugin

Postby skoehler » Sun Oct 30, 2011 2:01 pm

The settings in your screenshot are the defaults for new run configurations. Run configurations that have been created previsouly, are not affected.
See the menu next to the green play button on how to change the previously created run configurations.
skoehler
leJOS Team Member
 
Posts: 1431
Joined: Thu Oct 30, 2008 4:54 pm

Re: How to show --verbose info with LeJOS plugin

Postby esmetaman » Sun Oct 30, 2011 4:59 pm

Many thanks friend. I didn't know that detail.

Image

Now, If I send a simple program, I can debug later without any problem from Eclipse.

program has been uploaded
program has been linked successfully
uploading ...
leJOS NXJ> Upload successful in 14881 milliseconds
program has been uploaded
program has been linked successfully
uploading ...
leJOS NXJ> Upload successful in 14906 milliseconds
program has been uploaded
Class 0: java.lang.Object
Class 1: java.lang.Throwable
Class 2: java.lang.Error
Class 3: java.lang.OutOfMemoryError
Class 4: boolean
Class 5: char
Class 6: float
Class 7: double
Class 8: byte
Class 9: short
Class 10: int
Class 11: long
Class 12: void
Class 13: java.lang.Object[]
Class 14: java.lang.NoSuchMethodError
Class 15: java.lang.StackOverflowError
Class 16: java.lang.NullPointerException
Class 17: boolean[]
Class 18: char[]
Class 19: float[]
Class 20: double[]
Class 21: byte[]
Class 22: short[]
Class 23: int[]
Class 24: long[]
Class 25: reserved
Class 26: java.lang.ClassCastException
Class 27: java.lang.ArithmeticException
Class 28: java.lang.ArrayIndexOutOfBoundsException
Class 29: java.lang.IllegalArgumentException
Class 30: java.lang.InterruptedException
Class 31: java.lang.IllegalStateException
Class 32: java.lang.IllegalMonitorStateException
Class 33: java.lang.ThreadDeath
Class 34: java.lang.ArrayStoreException
Class 35: java.lang.NegativeArraySizeException
Class 36: java.lang.Class
Class 37: java.lang.String
Class 38: java.lang.Cloneable
Class 39: java.lang.Thread
Class 40: jab.le.ch3.HelloWorld
Class 41: lejos.nxt.VM
Class 42: java.lang.System
Class 43: java.lang.StringBuilder
Class 44: java.lang.Integer
Class 45: java.io.PrintStream
Class 46: lejos.nxt.LCD
Class 47: lejos.nxt.MotorPort
Class 48: lejos.nxt.Button
Class 49: java.lang.Runtime
Class 50: java.lang.RuntimeException
Class 51: java.lang.Exception
Class 52: java.lang.IndexOutOfBoundsException
Class 53: java.lang.Character
Class 54: java.lang.StringIndexOutOfBoundsException
Class 55: java.lang.StringUtils
Class 56: java.lang.Runnable
Class 57: java.lang.Thread.UncaughtExceptionHandler
Class 58: lejos.nxt.VM.VMImage
Class 59: lejos.nxt.VM.VMClone
Class 60: lejos.nxt.LCDOutputStream
Class 61: java.lang.Number
Class 62: java.lang.NumberFormatException
Class 63: java.io.OutputStream
Class 64: java.io.IOException
Class 65: lejos.util.Delay
Class 66: lejos.nxt.Button[]
Class 67: lejos.nxt.NXTEvent
Class 68: lejos.nxt.Sound
Class 69: lejos.nxt.SystemSettings
Class 70: java.lang.Shutdown
Class 71: java.lang.String[]
Class 72: lejos.nxt.Flash
Class 73: lejos.nxt.NXT
Class 74: lejos.nxt.FlashError
Method 0: java.lang.Object.<init>() PC 4012 Signature id 2
Method 1: java.lang.Object.getClass() PC 4013 Signature id 125
Method 2: java.lang.Object.toString() PC 4021 Signature id 127
Method 3: java.lang.Object.wait(long) Native id 8
Method 4: java.lang.Throwable.<init>() PC 4046 Signature id 2
Method 5: java.lang.Throwable.<init>(java.lang.String) PC 4056 Signature id 129
Method 6: java.lang.Throwable.getCause() PC 4071 Signature id 133
Method 7: java.lang.Throwable.getLocalizedMessage() PC 4076 Signature id 134
Method 8: java.lang.Throwable.getMessage() PC 4081 Signature id 31
Method 9: java.lang.Throwable.toString() PC 4086 Signature id 127
Method 10: java.lang.Throwable.fillInStackTrace() PC 4134 Signature id 135
Method 11: java.lang.Throwable.displayLocation(int, int, int) PC 4147 Signature id 138
Method 12: java.lang.Throwable.uncaughtException(int, int) PC 4191 Signature id 139
Method 13: java.lang.Error.<init>(java.lang.String) PC 4484 Signature id 129
Method 14: java.lang.NullPointerException.<init>() PC 4490 Signature id 2
Method 15: java.lang.IllegalArgumentException.<init>(java.lang.String) PC 4495 Signature id 129
Method 16: java.lang.Class.isInterface() PC 4501 Signature id 153
Method 17: java.lang.Class.toString() PC 4515 Signature id 127
Method 18: java.lang.String.<init>(int) PC 4561 Signature id 140
Method 19: java.lang.String.<init>(char[]) PC 4573 Signature id 161
Method 20: java.lang.String.<init>(char[], int, int) PC 4582 Signature id 162
Method 21: java.lang.String.charAt(int) PC 4599 Signature id 166
Method 22: java.lang.String.equals(java.lang.Object) PC 4624 Signature id 123
Method 23: java.lang.String.length() PC 4696 Signature id 191
Method 24: java.lang.String.toCharArray() PC 4702 Signature id 199
Method 25: java.lang.String.toString() PC 4725 Signature id 127
Method 26: java.lang.String.valueOf(java.lang.Object) PC 4727 Signature id 211
Method 27: java.lang.Thread.run() PC 4741 Signature id 1
Method 28: java.lang.Thread.sleep(long) Native id 13
Method 29: java.lang.Thread.currentThread() Native id 14
Method 30: java.lang.Thread.interrupt() Native id 17
Method 31: java.lang.Thread.getUncaughtExceptionHandler() PC 4761 Signature id 226
Method 32: java.lang.Thread.systemUncaughtExceptionHandler(java.lang.Throwable, int, int) PC 4766 Signature id 4
Method 33: java.lang.Thread.exitThread() Native id 24
Method 34: jab.le.ch3.HelloWorld.<clinit> PC 4827 Signature id 3
Method 35: jab.le.ch3.HelloWorld.main(java.lang.String[]) PC 4833 Signature id 0
Method 36: jab.le.ch3.HelloWorld.credits(int) PC 4855 Signature id 227
Method 37: lejos.nxt.VM.<clinit> PC 4911 Signature id 3
Method 38: lejos.nxt.VM.<init>() PC 4930 Signature id 2
Method 39: lejos.nxt.VM.getVM() PC 4965 Signature id 228
Method 40: lejos.nxt.VM.memPeek(int, int, int) Native id 113
Method 41: lejos.nxt.VM.memCopy(java.lang.Object, int, int, int, int) Native id 114
Method 42: lejos.nxt.VM.getObjectAddress(java.lang.Object) Native id 115
Method 43: lejos.nxt.VM.memGetReference(int, int) Native id 116
Method 44: lejos.nxt.VM.memPeekByte(int, int) PC 4985 Signature id 229
Method 45: lejos.nxt.VM.memPeekShort(int, int) PC 4997 Signature id 230
Method 46: lejos.nxt.VM.memPeekInt(int, int) PC 5008 Signature id 231
Method 47: lejos.nxt.VM.getClassAddress(int) PC 5016 Signature id 233
Method 48: lejos.nxt.VM.getClassNo(java.lang.Object) PC 5032 Signature id 234
Method 49: lejos.nxt.VM.getClassNumber(java.lang.Class) PC 5059 Signature id 235
Method 50: lejos.nxt.VM.getClass(java.lang.Object) PC 5076 Signature id 237
Method 51: lejos.nxt.VM.suspendThread(java.lang.Object) Native id 86
Method 52: lejos.nxt.VM.resumeThread(java.lang.Object) Native id 87
Method 53: lejos.nxt.VM.createStackTrace(java.lang.Thread, java.lang.Object) Native id 32
Method 54: lejos.nxt.VM.firmwareExceptionHandler(java.lang.Throwable, int, int) Native id 118
Method 55: lejos.nxt.VM.access$0(java.lang.Object, int, int, int, int) PC 5092 Signature id 250
Method 56: java.lang.System.<clinit> PC 5102 Signature id 3
Method 57: java.lang.System.arraycopy(java.lang.Object, int, java.lang.Object, int, int) Native id 26
Method 58: java.lang.System.exit(int) PC 5137 Signature id 260
Method 59: java.lang.System.currentTimeMillis() Native id 25
Method 60: java.lang.System.identityHashCode(java.lang.Object) PC 5145 Signature id 264
Method 61: java.lang.System.getDataAddress(java.lang.Object) Native id 9
Method 62: java.lang.StringBuilder.ensureCapacity(int) PC 5150 Signature id 267
Method 63: java.lang.StringBuilder.<init>() PC 5209 Signature id 2
Method 64: java.lang.StringBuilder.<init>(java.lang.String) PC 5227 Signature id 129
Method 65: java.lang.StringBuilder.append(java.lang.String) PC 5253 Signature id 269
Method 66: java.lang.StringBuilder.append(int) PC 5259 Signature id 277
Method 67: java.lang.StringBuilder.appendInternal(java.lang.String) PC 5297 Signature id 281
Method 68: java.lang.StringBuilder.toString() PC 5348 Signature id 127
Method 69: java.lang.Integer.<clinit> PC 5365 Signature id 3
Method 70: java.lang.Integer.parseInt(java.lang.String) PC 5370 Signature id 299
Method 71: java.lang.Integer.parseInt(java.lang.String, int) PC 5377 Signature id 300
Method 72: java.lang.Integer.parseInt(java.lang.String, int, int, boolean, int) PC 5424 Signature id 301
Method 73: java.lang.Integer.toHexString(int) PC 5549 Signature id 309
Method 74: java.lang.Integer.toUnsignedString(int, int, int, int) PC 5559 Signature id 311
Method 75: java.io.PrintStream.<init>(java.io.OutputStream) PC 5607 Signature id 319
Method 76: java.io.PrintStream.write(int) PC 5617 Signature id 320
Method 77: java.io.PrintStream.flush() PC 5639 Signature id 321
Method 78: java.io.PrintStream.print0(java.lang.String) PC 5651 Signature id 322
Method 79: java.io.PrintStream.println0(java.lang.String) PC 5677 Signature id 323
Method 80: java.io.PrintStream.println(java.lang.String) PC 5693 Signature id 342
Method 81: lejos.nxt.LCD.<clinit> PC 5702 Signature id 3
Method 82: lejos.nxt.LCD.bitBlt(byte[], int, int, int, int, int, int, int, int, int) PC 5719 Signature id 343
Method 83: lejos.nxt.LCD.drawChar(char, int, int) PC 5746 Signature id 344
Method 84: lejos.nxt.LCD.drawString(java.lang.String, int, int) Native id 46
Method 85: lejos.nxt.LCD.drawInt(int, int, int) Native id 47
Method 86: lejos.nxt.LCD.drawInt(int, int, int, int) Native id 48
Method 87: lejos.nxt.LCD.asyncRefresh() Native id 49
Method 88: lejos.nxt.LCD.getRefreshCompleteTime() Native id 56
Method 89: lejos.nxt.LCD.asyncRefreshWait() PC 5775 Signature id 347
Method 90: lejos.nxt.LCD.refresh() PC 5794 Signature id 348
Method 91: lejos.nxt.LCD.clear() Native id 50
Method 92: lejos.nxt.LCD.getDisplay() Native id 51
Method 93: lejos.nxt.LCD.getSystemFont() Native id 54
Method 94: lejos.nxt.LCD.setAutoRefreshPeriod(int) Native id 52
Method 95: lejos.nxt.LCD.setAutoRefresh(boolean) PC 5807 Signature id 349
Method 96: lejos.nxt.LCD.bitBlt(byte[], int, int, int, int, byte[], int, int, int, int, int, int, int) Native id 53
Method 97: lejos.nxt.LCD.scroll() PC 5827 Signature id 352
Method 98: lejos.nxt.LCD.clear(int) PC 5867 Signature id 354
Method 99: lejos.nxt.MotorPort.<clinit> PC 5888 Signature id 3
Method 100: lejos.nxt.MotorPort.<init>(int) PC 5922 Signature id 140
Method 101: lejos.nxt.MotorPort.getInstance(int) PC 5937 Signature id 355
Method 102: lejos.nxt.MotorPort.controlMotor(int, int) PC 5987 Signature id 356
Method 103: lejos.nxt.MotorPort.controlMotorById(int, int, int) Native id 60
Method 104: lejos.nxt.Button.<clinit> PC 6037 Signature id 3
Method 105: lejos.nxt.Button.<init>(int) PC 6127 Signature id 140
Method 106: lejos.nxt.Button.waitForAnyPress(int) PC 6137 Signature id 368
Method 107: lejos.nxt.Button.waitForAnyPress() PC 6272 Signature id 369
Method 108: lejos.nxt.Button.getButtons() Native id 58
Method 109: lejos.nxt.Button.readButtons() PC 6277 Signature id 371
Method 110: lejos.nxt.Button.loadSystemSettings() PC 6326 Signature id 380
Method 111: java.lang.Runtime.<init>() PC 6407 Signature id 2
Method 112: java.lang.Runtime.getRuntime() PC 6412 Signature id 263
Method 113: java.lang.Runtime.exit(int) PC 6432 Signature id 260
Method 114: java.lang.RuntimeException.<init>() PC 6437 Signature id 2
Method 115: java.lang.RuntimeException.<init>(java.lang.String) PC 6442 Signature id 129
Method 116: java.lang.Exception.<init>() PC 6448 Signature id 2
Method 117: java.lang.Exception.<init>(java.lang.String) PC 6453 Signature id 129
Method 118: java.lang.IndexOutOfBoundsException.<init>(java.lang.String) PC 6459 Signature id 129
Method 119: java.lang.Character.<clinit> PC 6465 Signature id 3
Method 120: java.lang.Character.digit(int, int) PC 6470 Signature id 318
Method 121: java.lang.Character.forDigit(int, int) PC 6548 Signature id 409
Method 122: java.lang.StringIndexOutOfBoundsException.<init>(int) PC 6595 Signature id 140
Method 123: java.lang.StringUtils.parseDigit(char, int) PC 6616 Signature id 427
Method 124: java.lang.StringUtils.throwNumberFormat(java.lang.String, int) PC 6638 Signature id 428
Method 125: java.lang.StringUtils.getIntChars(char[], int, int, int) PC 6674 Signature id 430
Method 126: java.lang.StringUtils.exactStringLength(int, int) PC 6726 Signature id 433
Method 127: lejos.nxt.VM.VMImage.<init>(lejos.nxt.VM, int) PC 6749 Signature id 445
Method 128: lejos.nxt.VM.VMImage.<init>(lejos.nxt.VM, int, lejos.nxt.VM$VMImage) PC 6763 Signature id 450
Method 129: lejos.nxt.VM.VMClone.update() PC 6770 Signature id 473
Method 130: lejos.nxt.VM.VMClone.<init>(int, int) PC 6786 Signature id 474
Method 131: lejos.nxt.VM.VMClone.<init>(int, int, lejos.nxt.VM$VMClone) PC 6805 Signature id 475
Method 132: lejos.nxt.LCDOutputStream.<init>() PC 6812 Signature id 2
Method 133: lejos.nxt.LCDOutputStream.write(int) PC 6827 Signature id 320
Method 134: lejos.nxt.LCDOutputStream.incLine() PC 6917 Signature id 493
Method 135: java.lang.NumberFormatException.<init>(java.lang.String) PC 6943 Signature id 129
Method 136: java.io.OutputStream.<init>() PC 6949 Signature id 2
Method 137: java.io.OutputStream.write(int) PC 0 Signature id 320
Method 138: java.io.OutputStream.flush() PC 6954 Signature id 321
Method 139: lejos.util.Delay.msDelay(long) PC 6955 Signature id 497
Method 140: lejos.nxt.NXTEvent.<init>() PC 7007 Signature id 2
Method 141: lejos.nxt.NXTEvent.registerEvent() Native id 119
Method 142: lejos.nxt.NXTEvent.unregisterEvent() Native id 120
Method 143: lejos.nxt.NXTEvent.changeEvent(int, int) Native id 121
Method 144: lejos.nxt.NXTEvent.waitEvent(long) PC 7012 Signature id 500
Method 145: lejos.nxt.NXTEvent.waitEvent(int, long) PC 7135 Signature id 501
Method 146: lejos.nxt.NXTEvent.allocate(int, int, int) PC 7176 Signature id 508
Method 147: lejos.nxt.NXTEvent.free() PC 7226 Signature id 509
Method 148: lejos.nxt.Sound.<clinit> PC 7249 Signature id 3
Method 149: lejos.nxt.Sound.playFreq(int, int, int) Native id 62
Method 150: lejos.nxt.Sound.playTone(int, int, int) PC 7358 Signature id 521
Method 151: lejos.nxt.Sound.loadSettings() PC 7384 Signature id 379
Method 152: lejos.nxt.SystemSettings.<clinit> PC 7395 Signature id 3
Method 153: lejos.nxt.SystemSettings.getSlotIndex(java.lang.String) PC 7507 Signature id 531
Method 154: lejos.nxt.SystemSettings.setSlotValue(int, java.lang.String) PC 7539 Signature id 532
Method 155: lejos.nxt.SystemSettings.getSlotValue(int) PC 7662 Signature id 533
Method 156: lejos.nxt.SystemSettings.getStringSetting(java.lang.String, java.lang.String) PC 7736 Signature id 534
Method 157: lejos.nxt.SystemSettings.getIntSetting(java.lang.String, int) PC 7763 Signature id 535
Method 158: java.lang.Shutdown.<clinit> PC 7783 Signature id 3
Method 159: java.lang.Shutdown.halt(int) Native id 94
Method 160: java.lang.Shutdown.shutdown() Native id 95
Method 161: java.lang.Shutdown.shutdown(int) PC 7796 Signature id 538
Method 162: lejos.nxt.Flash.<clinit> PC 7826 Signature id 3
Method 163: lejos.nxt.Flash.flashReadPage(byte[], int) Native id 81
Method 164: lejos.nxt.Flash.flashWritePage(byte[], int) Native id 80
Method 165: lejos.nxt.Flash.readPage(byte[], int) PC 7839 Signature id 705
Method 166: lejos.nxt.Flash.writePage(byte[], int) PC 7858 Signature id 706
Method 167: lejos.nxt.NXT.getUserPages() Native id 93
Method 168: lejos.nxt.FlashError.<init>(java.lang.String) PC 7942 Signature id 129
Master record : 20 bytes.
Class records : 75 (900 bytes).
Field records : 61 (64 bytes).
Static fields : 40 (80 bytes).
Static state : 40 (152 bytes).
Constant records : 45 (180 bytes).
Constant values : 45 (588 bytes).
Method records : 169 (2028 bytes).
Exception records: 18 (144 bytes).
Interface maps : 3 (4 bytes).
Code : 131 (3936 bytes).
Total : 7948 bytes.
Run time options : EnableCompact
Constant loads : 45N 8O 0W 44S
Static load/store: 6N 88O
Field load/store: 2N 93O
program has been linked successfully
uploading ...
leJOS NXJ> Upload successful in 3200 milliseconds
program has been uploaded
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain


Return to NXJ Software

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests

more stuff