Documentation  |   Table of Contents   |  < Previous   |  Next >   |  Index

Table of Contents

Palm OS® Programming Development Tools Guide

Palm OS® 5 SDK (68K) R3

     

About This Document

Palm OS Documentation

What This Volume Contains

Summary of Changes

Additional Resources

1 Using Palm Debugger

About Palm Debugger

Connecting Palm Debugger With a Target

Connecting to The Palm OS Emulator

Connecting to The Handheld Device

Using the Console and Debugging Windows Together

Entering Palm Debugger Commands

Palm Debugger Menus

Palm Debugger Command Syntax

Using the Debugging Window

Using Debugger Expressions

Performing Basic Debugging Tasks

Advanced Debugging Features

Using the Source Window

Debugging With the Source Window

Using Symbol Files

Using the Source Menu

Source Window Debugging Limitations

Palm Debugger Error Messages

Palm Debugger Tips and Examples

Performing Calculations

Shortcut Characters

Repeating Commands

Finding a Specific Function

Finding Memory Corruption Problems

Displaying Local Variables and Function Parameters

Changing the Baud Rate Used by Palm Debugger

Debugging Applications That Use the Serial Port

Importing System Extensions and Libraries

Determining the Current Location Within an Application

2 Palm Debugger Command Reference

Command Syntax

Specifying Numeric and Address Values

Using the Expression Language

Debugging Window Commands

>

alias

aliases

atb

atc

atd

atr

att

bootstrap

br

brc

brd

cardinfo

cl

db

dir

dl

dm

dump

dw

dx

fb

fill

fl

ft

fw

g

gt

hchk

hd

help

hl

ht

il

info

keywords

load

opened

penv

reg

reset

run

s

save

sb

sc

sc6

sc7

sizeof

sl

ss

storeinfo

sw

t

templates

typedef

typeend

var

variables

wh

Debugging Command Summary

Flow Control Commands

Memory Commands

Template Commands

Register Commands

Utility Commands

Console Commands

Miscellaneous Debugger Commands

Debugger Environment Variables

Predefined Constants

3 Debugger Protocol Reference

About the Palm Debugger Protocol

Packets

Packet Structure

Packet Communications

Constants

Packet Constants

State Constants

Breakpoint Constants

Command Constants

Data Structures

_SysPktBodyCommon

SysPktBodyType

SysPktRPCParamType

BreakpointType

Debugger Protocol Commands

Continue

Find

Get Breakpoints

Get Routine Name

Get Trap Breaks

Get Trap Conditionals

Message

Read Memory

Read Registers

RPC

Set Breakpoints

Set Trap Breaks

Set Trap Conditionals

State

Toggle Debugger Breaks

Write Memory

Write Registers

Summary of Debugger Protocol Packets

4 Using the Console Window

About the Console Window

Connecting the Console Window

Activating Console Input

Using Shortcut Numbers to Activate the Windows

Entering Console Window Commands

Command Syntax

Specifying Numeric and Address Values

Console Window Commands

addrecord

addresource

attachrecord

attachresource

battery

cardformat

cardinfo

changerecord

changeresource

close

coldboot

create

del

delrecord

delresource

detachrecord

detachresource

dir

dm

doze

exit

export

feature

findrecord

free

gdb

getresource

gremlin

gremlinoff

hc

hchk

hd

help

hf

hi

hl

hs

ht

htorture

import

info

kinfo

launch

listrecords

listresources

lock

log

mdebug

moverecord

new

open

opened

performance

poweron

reset

resize

saveimages

sb

setinfo

setowner

setrecordinfo

setresourceinfo

simsync

sleep

storeinfo

switch

sysalarmdump

unlock

Console Command Summary

Card Information Commands

Chunk Utility Commands

Database Utility Commands

Debugging Utility Commands

Gremlin Commands

Heap Utility Commands

Host Control Commands

Miscellaneous Utility Commands

Record Utility Commands

Resource Utility Commands

System Commands

5 Using Palm Reporter

About Palm Reporter

Palm Reporter Features

Downloading Palm Reporter

Palm Reporter Package Files

Installing Palm Reporter

Adding Trace Calls to Your Application

Specifying Trace Strings

Trace Functions in a Code Sample

Displaying Trace Information in Palm Reporter

Starting a Palm Reporter Session

Filtering Information in a Palm Reporter Session

Using the Palm Reporter Toolbar

Troubleshooting Palm Reporter

6 Using the Overlay Tools

Using Overlays to Localize Resources

Overlay Database Names

Overlay Specification Resources

About the Overlay Tools

Using the PRC-to-Overlay Function

How the PRC-to-Overlay Function Works

Choosing a Locale

Modifying the Filter Set

PRC2OVL Example

Using the Patch Overlay Function

PRC2OVL Options Summary

Getting Help

Using PRC2OVL on the Macintosh

Opening a PRC file

Selecting Resources

A Resource Tools

B Simple Data Types