BJTAWJ / webclient-mobile-for-ca-plex

Automatically exported from code.google.com/p/webclient-mobile-for-ca-plex
0 stars 0 forks source link

Recursive call - strange behaviour #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Call Function A
2. which Calls Function B
3. which calls Function A

What is the expected output? What do you see instead?
On return from functon A to function B and then to first call of function A the 
variable stack does not get refreshed.

I have inserted log messages to signal start and end of recursion with the 
unique key and on return I get the following message in the log:

2011-07-22 21:46:35,305: [http-8080-2:ERROR] - ERROR WebClientApp: 
logError(1,'Start recursion for '1'',1020)
2011-07-22 21:46:53,021: [http-8080-2:ERROR] - ERROR WebClientApp: 
logError(1,'Start recursion for '122'',1020)
2011-07-22 21:47:17,214: [http-8080-2:ERROR] - ERROR WebClientApp: 
logError(1,'End recursion for '122'',1020)
2011-07-22 21:47:30,117: [http-8080-2:ERROR] - ERROR WebClientApp: 
logError(1,'End recursion for '122'',1020)

I was expecting the last message to be an end recursion for key '1' - instead 
it signals key '122'.

What version of the product are you using? On what operating system?

The one shipped with the tutorial from conference.

Please provide any additional information below.

Original issue reported on code.google.com by darryl.m...@radmt.com on 22 Jul 2011 at 12:04