zoukankan      html  css  js  c++  java
  • palmlog

    \SDK\bin\palm-log.bat

    参数:

    Usage: palm-log [OPTION...] [APP_ID]
    Display application logs from a Palm device.

    Options:
    -d, --device=DEVICE         # specify DEVICE to use
    -l, --list                  # list the installed applications
    -f, --follow                # follow the log output (use Ctrl-C to terminate)
        --version               # display version info and exit
        --help                  # display this help and exit

    APP_ID is the id of the application for which logs are shown.

    DEVICE is a unique device id, "usb" for any usb-connected device, or "tcp" for
    the emulator (must be running). If not specified, the first device found is used
    .

    Examples:

    # Display logs for app
    palm-log com.example.app

    # Follow logs for app
    palm-log -f com.example.app

    # List applications on default device
    palm-log -l

    # List applications on usb-connected device
    palm-log -d usb -l

    # List applications on emulator
    palm-log -d tcp -l

    软件调试的好东西 显示程序中Mojo.Log.info()的信息 比dbug方便多了

    emulator上好用

    我用palm-log -d usb -f com.xxx.xxx命令 显示已经连接 但是log没有显示:

    D:\PalmPre\SDK\bin>palm-log -f -d usb com.xxx.xxx
    connecting to device castle-linux (4A1E4A93ACA8
    3551)2971445779
    following logs for application com.xxx.xxx

  • 相关阅读:
    复利计算器2.01
    复利计算器2.0
    0429团队3.0
    0428 团队项目合作2.0作业
    "数学口袋精灵"bug
    操作系统-实验2
    博客评论
    复利计算升级
    0408 结对合作
    0406复利计算5.0
  • 原文地址:https://www.cnblogs.com/tiechui/p/1802601.html
Copyright © 2011-2022 走看看