日食:QUOT;编辑源查找路径..." [英] Eclipse: "Edit Source Lookup Path..."

查看:145
本文介绍了日食:QUOT;编辑源查找路径..."的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发的Eclipse在Mac上,并具有实现标准的框架回调(的onCreate,的onDestroy,在onPause等)的应用程序的骨架。当我在回调中设置断点调试程序停止并显示一个标签,上面写着:


  

ActivityThread.performLaunchActivity(ActivityThread
  $ ActivityRecord,意图)行:2477


和标签页里身体有,说:编辑源查找路径...。

一些红色的文字,上面写着找不到源代码和一个按钮

我曾尝试将通过多个路径编辑源查找路径...但我似乎无法找到一个Eclipse正在寻找的。

任何人都可以点我在正确的方向?


解决方案

这听起来像你的程序已经停止的Andr​​oid code内。通常,这些内部错误(空指针等等)都是通过在code的错误造成的,而是错误报告是不存在的,而不是你的内部崩溃。

但它可以有很大的帮助,有时来查看Android源$ C ​​$ C。这可以相当容易地完成。

I am developing on a Mac with Eclipse and have the skeleton for an app that implements the standard framework callbacks (onCreate, onDestroy, onPause, etc..). When I set breakpoints in the callbacks the debugger stops and displays a tab that says:

ActivityThread.performLaunchActivity(ActivityThread $ActivityRecord,Intent)line:2477

And in the tab page body there is some red text that says "Source not found" and a button that says "Edit Source Lookup Path...".

I have tried adding several paths via "Edit Source Lookup Path..." but I can't seem to find the one Eclipse is looking for.

Can anyone point me in the right direction?

解决方案

It sounds like your program has stopped inside Android code. Often these internal errors (null pointers etc) are caused by a mistake in your code, but the error reporting isn't there, instead you get an internal crash.

However it can help a lot sometimes to view the Android source code. This can be done fairly easily.

这篇关于日食:QUOT;编辑源查找路径..."的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆