[Cover] [Previous Section] [Next Section] [Index]

Current chapter: UP.Simulator Reference
Section 12 out of 79 total sections , Section 6 out of 12 sections in this chapter


Displaying UP.Simulator information

The UP.Simulator Info menu lets you view a variety of information about the current state. The UP.Simulator displays the information you select in the Phone Information window. The following table describes the available options:

Menu item  Description 

Info>Alerts 

Displays any pending alerts for the phone. 

Info>Source 

Displays the HDML deck currently in the phone. 

Info>Cache 

Displays the phone cache contents (see Phone cache information below for more information). 

Info>History 

Displays the contents of the phone history stack and the variable cache. 

Info>Memory 

Displays the phone memory contents (see Phone memory information below for more information). 

Info>Vars 

Displays variable contents for the current context. 

Info>Cookies 

Displays cookie contents for the current context. 



Phone cache information

Like conventional Web browsers, UP.Phones have memory caches. The UP.Simulator emulates the caching behavior of real UP.Phones and allows you to monitor caching behavior. The Info>Cache command allows you to display information about the contents of the cache. It prints the information in a tabular format that includes the columns described below.

Column  Description 
URLM  

The first number is the memory block handle containing the URL of the deck. The second number specifies the number of times the URL has been requested. 

TILM  

The first number is the memory block handle containing the compiled HDML. The second number specifies the number of times the compiled HDML has been requested. 

FLAGS  

Flags indicating the status of the deck 

I: the deck is currently in use (this applies to only one deck at a time) 

O: the deck is out of date (it will be refetched from the server the next time it is requested) 

CHARSET  

The character set used by the cached deck. 

PRI  

A number from 0 to 3, specifying the priority of the deck in the cache. 0 indicates the highest priority, 3 the lowest. 

TTL  

The remaining Time To Live in days (d), hours (h), or seconds (s). If this number is 0 or negative, the deck has expired and will be refetched from the server the next time the UP.Simulator requests it. This value corresponds to the TTL value you specify if you set the deck cache time within your <HDML> statement (for more information about using the TTL option, see the HDML Language Reference). 

URLS  

The URLs of the cached decks. 



Phone memory information

To display information about the UP.Simulator's memory content, choose Info>Memory from the UP.Simulator menu. The UP.Simulator prints the information in a tabular format that includes the columns described below.

Column  Description 
ADDRESS  

The actual memory address 

STATE  

The state of the memory, either Unlocked (U), Locked (L), Free (F), or Persistent across sessions (P

BLOCK SIZE  

Memory block size and size of the data 

PREV SIZE  

Previous memory block size 

HANDLE  

Memory handle (reference) 

USE  

What the memory space contains 


[Cover] [Previous Section] [Next Section] [Index]

Current chapter: UP.Simulator Reference
Section 12 out of 79 total sections , Section 6 out of 12 sections in this chapter


Copyright © 1999, Unwired Planet, Inc. All rights reserved.