p4lang / behavioral-model

The reference P4 software switch
Apache License 2.0
531 stars 327 forks source link

How to track fileds of metadata with p4dbg? #1233

Closed Klaymini closed 4 months ago

Klaymini commented 4 months ago

Hi, I'm confused that it didn't work when I tried to set a watch point on a filed of metadata. My input and output are as follows. udp_Rp is one of fileds in metadata.

P4DBG: w udp_Rp
Error: Unknow field name 'udp_Rp'

How do I fix it?

jafingerhut commented 4 months ago

I agree that your question appears quite specific to the behavioral-model repo and its implementation. I would suggest that. you might also want to ask your question in the web forum at https://forum.p4.org, as you might find a somewhat larger audience of people reading the questions, who may know the answer (I have not used p4dbg myself, so do not know).

Klaymini commented 4 months ago

I agree that your question appears quite specific to the behavioral-model repo and its implementation. I would suggest that. you might also want to ask your question in the web forum at https://forum.p4.org, as you might find a somewhat larger audience of people reading the questions, who may know the answer (I have not used p4dbg myself, so do not know).

Thank you very much. I would like to share this question on the forum.