This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I use this gdb macro:
It works, thanks.
It is a static field, from a class that was loaded by reflexion (from a custom class loader).Do you know where this field comes from? Is it your application?
What are the precise commands to do that? I suppose using watch, but I don't know much about gdb. Can I watch only this instance of the field?I think the next thing to do is to try to see why this field isn't initialized. One way to do that would be to put a watchpoint on the value and then see when/why it changes to 0.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |