开发者

Eclipse GDB stacktrace gets file location wrong

开发者 https://www.devze.com 2023-04-03 08:53 出处:网络
It seems Eclipse is easily confused when doing debugging using GDB. In the p开发者_如何学运维roject there is a DownloadManager.cpp file which contains JNI glue code to run code within the Shared Libra

It seems Eclipse is easily confused when doing debugging using GDB. In the p开发者_如何学运维roject there is a DownloadManager.cpp file which contains JNI glue code to run code within the Shared Libraries DownloadManager.cpp.

Eclipse seems to be easily confused and does not relate the stack trace to the correct file. The problem occurred in SVI::DownloadManager::activeDownloads() which is not in the JNI glue code's DownloadManager.cpp, but in the Shared Libraries.

Clicking on the stack trace frame results in Eclipse opening the wrong file and highlighting the wrong line. Any advice or help on this is appreciated.

Kevin

Eclipse loads the wrong file upon double clicking leading to confusion

Eclipse GDB stacktrace gets file location wrong

The actual line number that was shown in the stack trace

Eclipse GDB stacktrace gets file location wrong


Rename one of the DownloadManager.cpp files to something else and file a bug against CDT.

0

精彩评论

暂无评论...
验证码 换一张
取 消