1

I'm trying to debug a Linux C++ program under Eclipse CDT. I've set two breakpoints in the source, when I launch the debug session however I see this in the console output:

Cannot insert breakpoint 6. Error accessing memory address 0x25a: Input/output error. Cannot insert breakpoint 7. Error accessing memory address 0x8: Input/output error.

and my breakpoints are never hit. The application does run however. Any ideas on what the I/O errors mean?

TY, Fred

4

1 に答える 1

2

I/O エラーの意味について何か考えはありますか?

これらは、GDB (Eclipse CDT によって使用される) がアドレス0x25aおよび0x8にブレークポイントを設定しようとして失敗したことを意味します (上記のいずれの場所にもコードはありません)。

GDB がブレークポイントを設定することを決定した理由を言うことは不可能です。ブレークポイントの設定方法について詳細を提供していません。

于 2013-01-02T23:44:34.293 に答える