.NET Logo
Welcome Guest Search | Active Topics | Members | Log In | Register

การใช้งาน SPY++ Options · View
paedotnet
Posted: Saturday, September 06, 2008 12:39:14 PM

Rank: มือเทพ
Groups: Member

Joined: 12/6/2007
Posts: 344
Location: bkk

การใช้งาน SPY++
SPY++ จะมาพร้อมกับ Visual Studio ใครที่ติดตั้งโปรแกรม Visual Studio ก็จะมี ตัวนี้มาให้โดยสามารถไปดูได้ที่
start->All programs -> Microsoft Visual Studio -> Visual Studio Tools->Spy++
Spy++ คืออะไร
 spy++ คือ tool ชนิดหนึ่งที่ใช้ดูข้อมูลต่างๆเกี่ยวกับthread,process ฯ


วิธีการใช้งาน
หลังจากเปิดโปรแกรมนี้ขึ้นมา ดังรูป


ให้ไปตรง menu bar จะมีคำสั่งให้เลือกอยู่ 6 คำสั่ง คือ Windows,Processes,Threads,Log Messages..,Find Window,Exit

มาดูที่คำสั่งแรกกัน

Windows
สำหรับคำสั่งนี้ จะแสดงรายชื่อของ window ที่เปิดอยู่ เช่นผมเปิดโปรแกรม Note pad อยู่แล้วมีข้อความ สวัสดีครับอยู่ใน text นี้ก็จะมี
ข้อมูลดังรุป

Processes

จะคล้ายๆกับการดู process ตอนที่กดปุ่ม Ctrl+Alt + del หรือ  Ctrl+Shift +esc แต่จะมีรายละเอียดมากกว่า

โดยจะมีการแสดงสถานะของ Thread ใน process นั้นๆด้วย

Thread
แสดงรายละเอียดทั้งหมดของ Threadที่ระบบกำลังทำงาน


Log Messages...


จะทำหน้าที่เก็บค่าต่างๆ ของ message ที่ window ส่งและรับในช่วง real-time หลังจากเปิด Log messages.. ขึ้นมา
จะได้ดังรูป


ในการใช้งาน ก็ให้ลาก ตรงรูปภาพ Finder Tool ไปที่ window อะไรก็ได้แล้วก็จะมีรายละเอียดเกี่ยวกับ window นั้นๆเกิดขึ้นมาดังรูป

 

ส่วน Find Window ก็มีวิธีใช้งาน Finder Tool คล้ายๆกับ Log Message นะครับลองเล่นดู



[With great power comes great responsibility]
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.


Sponsored by