3

I see this when I try to inspect the value of any field in Eclipse - Method "toString" with signature "()Ljava/lang/String;" is not applicable on this object

Is it something in the settings I need to change?

Suchi
  • 9,989
  • 23
  • 68
  • 112
  • 1
    Do not think it is about a setting you have missed. It is a bug in Eclipse or RIM Eclipse plugin. Use EventLogger and/or System.out.println() to log necessary code. –  Mar 24 '12 at 10:59
  • Agree, plugin misconfigured or bug. – Mister Smith Mar 26 '12 at 11:33

2 Answers2

1

or else add System.out.prinln to display message you want.

Aniruddh Ambarkar
  • 1,030
  • 1
  • 11
  • 20
1

The reason is that the version of the device's software does not match the version of your simulator's software which the debugger uses.

Ashraf Bashir
  • 9,686
  • 15
  • 57
  • 82
  • Download a simulator with the same model and version of the device which you are debugging with, from here http://us.blackberry.com/developers/resources/simulators.jsp – Ashraf Bashir Mar 26 '12 at 15:14