亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

Debugging Without ActiveSync

系統 1721 0

Chris Tacke
OpenNETCF Consulting
March 2007?

摘自: http://community.opennetcf.com/articles/cf/archive/2007/08/31/debugging-without-activesync.aspx

Introduction

If you've tried to debug a native or managed application with Microsoft Visual Studio 2005 on any device other than a Windows Mobile device, you're likely very aware of how painful it can be to just get connected.? Typically it's a process requiring the proper alignment of planets, holding your tongue just right and often a visit to Stonehenge.

We hope that this short white paper? along with CeDbgSetup.exe will take a lot of the pain out of the process.?

Requirements and Assumptions

Before proceeding, make sure you have the following:

  • Visual Studio 2005, Standard Edition or better with Service Pack 1 (SP1) installed. If you don't have SP1, CeDbgSetup.exe will deploy the wrong CoreCon files for your environment and Studio will only laugh at you with a very unhelpful "Cannot Connect" message.
  • CeDbgSetup.exe. This is a free, shared source tool that we've written to do a lot of the grunt work on the device for you. As usual it's provided as-is and without warranty, but if you have a problem let us know.
    As of this writing CeDbgSetup.exe supports only ARMv4I and x86 devices. Sorry to you MIPS and SHx developers, but I don't have a device with one of those processors, so I can't build or test the tool for those architectures. If you have an SDK for one of them, let us know and we may be able to update the tool.
  • As of this writing we've only verified that this works with Studio running on Windows XP.
  • You probably should shut off or put an exception in firewalls and other security stuff that might interfere with the transport
  • We've tested with the PC and the device running 802.11 connections, so yes, this work wireless on either or both sides
  • You don't need ActiveSync. Need we say more?

Configure the device

  1. First make sure the device has a valid IP address. Record the IP for future use.
    Using a fixed IP, especially on networks where the DHCP lease is short and addresses change frequently. If the device IP address changes, this entire process must be done again.
  2. Deploy and Run CeDbgSetup.exe on the device. This application is provided for free from OpenNETCF Consulting. If your device has a mechanism to persist the file and auto-launch it on boot, then we recommend that you do so to make things simple.
    When successfully run, shortcuts will be added to the device desktop. In normal operation you should not actually need to use these shortcuts.

Configure the PC

1. Verify you can ping the device the ensure that there is a solid communication channel.

Configure Visual Studio

  1. Enable the Device toolbar by right-clicking on Studio's toolbar and checking ‘Device'
  2. Select your target device. In this example we'll choose the iCOP eBox 2300, which is running CE 6.0. You'll see that I've got several other devices to choose from.
  3. Open the Devices option window by either clicking the ‘Device Options' button on the Device toolbar or using the following menu path Tools->Options->Device Tools->Options.
  4. Select your platform from the "Show devices for Platform" dropdown.
  5. In the "Devices" list, select your target device. At thins point it may be useful to rename the device. You can also "clone" any device by clicking "Save As" which can be helpful if you want to have different transports or IP addresses for the same type of target device.
  6. Select your device in the "Devices" list and click "Properties"
  7. Click on the "Configure" button
  8. Select the "Use specific IP address" radio button and enter device's IP address you recorded way back at the start of this process.
  9. Click the "OK" button on all 3 dialogs to bring you back to Studio.
  10. Click the "Connect to Device" button on the Device toolbar

    You should see the following:

At this point Visual Studio can communicate with the device and you're ready to develop.

Debugging Without ActiveSync


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 欧美国产成人免费观看永久视频 | 国产精品视频第一区二区 | 国产娱乐凹凸视觉盛宴在线视频 | 欧美亚洲国产精品第一页 | 日韩成人| 97精品在线观看 | 伊人不卡久久大香线蕉综合影院 | 中文字幕在线观看不卡视频 | 在线a视频| 激情四播| 日韩免费一区二区 | 九九热在线观看 | 在线观看黄色免费视频 | 国产成人精品一区二三区在线观看 | 一区二区三区四区视频在线观看 | 九九99香蕉在线视频免费 | 色人久久| 99re久久在热线播放最新地址 | 久久只有精品视频 | 欧美一级毛片高清毛片 | 伊人资源| 幻女bbwxxxxyounu | 久久免费公开视频 | 女性特黄一级毛片 | 免费国产一区 | www.黄色免费 | 又黄又爽又成人免费视频 | 91视频免费观看高清观看完整 | 俄罗斯一级在线播放 | 麻豆精品永久免费视频 | 国产精品国产三级国产 | 免费高清一级欧美片在线观看 | 91青娱乐在线 | 妖精视频免费在线观看 | 99国产超薄丝袜足j在线播放 | 免费观看男女羞羞的视频网站 | 一级理论片 | 亚洲天码中文字幕第一页 | 国产精品入口麻豆 | 日本在线视频不卡 | 99热久久这里只有精品9 |