This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

I have a problem with decoding RRC TargetRNC-toSourceRNC-Container with an error exception showing up. I tried to debug but debugger randomly pops through packet-rrc-template.c and not the actual packet-rrc.c.

I removed /O2 from config.nmake and added /DEBUG to LOCAL_LDFLAGS but with no luck. I also tried latest released both official and development, the problem presents there too. Is there any way to debug it after all?

alt text

asked 11 Feb '15, 05:14

jsnk's gravatar image

jsnk
6112
accept rate: 0%


Sure, see the Developers Guide Debugging Tools section 4.6.8. What was the problem with using the debugger and which version of VS are you using?

permanent link

answered 11 Feb '15, 06:17

grahamb's gravatar image

grahamb ♦
19.8k330206
accept rate: 22%

RRC TargetRNC-toSourceRNC-Container is sometims filled with junk if you are using a traffic generator. I beleve there there is a preference to turn the dissection off.

Debuging asn2wrs generated files with the debugger can be a pain as the line numbers don't match you may have to set the breakpoints in the .cnf file or rerun asn2wrs with the -L option see http://wiki.wireshark.org/Asn2wrs or put debug statements in the code. or set breakpoints in packet-per.c possibly.

(11 Feb '15, 07:06) Anders ♦

ISTR using the -L flag with asn2wrs (or removing the #line directives from the generated .c file using an editor) worked for me ...

(11 Feb '15, 08:15) Bill Meier ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×23
×14

question asked: 11 Feb '15, 05:14

question was seen: 2,108 times

last updated: 11 Feb '15, 08:15

p​o​w​e​r​e​d by O​S​Q​A