ppmoore
03-30-2009, 10:27 AM
Hello,
Here is my application code fragment (developed on a Win32 platform):
@Override
public void onCreate(Bundle savedInstanceState)
{
I super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// Count number of lines in dictionary file
String dictName = "dictionary.txt";
String dirName = "H:\\Test";
B File dictPath = new File( dirName, dictName);
I set the breakpoint to the line indicated "B", and then start the debugger. The debugger perspective is displayed and it indicates that the current instruction pointer is pointing to the line indicated "I". I press F8 to resume the program, and a second window appears with "Souce not found", and "Enter source lookup path". I checked that the path correctly points to where my java source code is located.
Searching here, it seems to imply that the Android source code is not available. Why would I need source code in this case?
I repeated the test, and this time single stepped from the first line indicated "I". This time, the message appeared after the second line with setContentView().
I repeated the test on Linux, and I get identical behaviour.
Can anyone help?
Thanks,
Paul
Here is my application code fragment (developed on a Win32 platform):
@Override
public void onCreate(Bundle savedInstanceState)
{
I super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// Count number of lines in dictionary file
String dictName = "dictionary.txt";
String dirName = "H:\\Test";
B File dictPath = new File( dirName, dictName);
I set the breakpoint to the line indicated "B", and then start the debugger. The debugger perspective is displayed and it indicates that the current instruction pointer is pointing to the line indicated "I". I press F8 to resume the program, and a second window appears with "Souce not found", and "Enter source lookup path". I checked that the path correctly points to where my java source code is located.
Searching here, it seems to imply that the Android source code is not available. Why would I need source code in this case?
I repeated the test, and this time single stepped from the first line indicated "I". This time, the message appeared after the second line with setContentView().
I repeated the test on Linux, and I get identical behaviour.
Can anyone help?
Thanks,
Paul