VisualPoint Tutorials

From OO Lab
Revision as of 16:06, 13 July 2014 by Rickychien (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Download Example

Download example here File:VisualPoint Example.rar


How to run example

There are 2 examples in File:VisualPoint Example.rar. After extracting rar file, you can see:

  • bubble - bubble sort example
  • AVL2 - AVL Tree example


Steps

Take bubble for example.

  1. 在解壓縮VisualPoint Example.rar後,開啟VisualPoint Example/bubble/bubble.sln
  2. 在Visual Studio中
    1. 將中斷點設在 line 16: int temp = s[y+1]; 上
    2. 直接F5執行專案
    3. 專案進入debug mode且程式會停在line 16中斷點上
    4. 點擊Tools -> VisualpointAddin開啟VisualPoint
  3. 在VisualPoint中
    1. 選擇Capture Mode
    2. 點選右上角visualize按鈕視覺化變數 (Ex.矩陣、變數)
  4. 在Visualize Form中,輸入"s"來視覺化s陣列
  5. 此時xDIVA的mapping dialog會跳出,在xDIVA的mapping dialog中
    1. 建立5個cube_uvbm來視覺化s陣列,如圖:Visualpoint mapping.png
    2. 左上選單 -> 存檔MDS
    3. 按下右下角apply
  6. 切換至VisualPoint,選擇 Replay Mode
  7. 此時xDIVA的mapping dialog會跳出,在xDIVA的mapping dialog中
    1. load剛剛存好的MDS檔
  8. 切換至VisualPoint,選擇播放速度。(由左至右為:逐步播放、每隔6秒自動放播、每隔4秒自動放播、每隔2秒自動放播、暫停)
  9. 回到xDIVA觀看Visualize變化


See also

Visual Studio Visualization Addin 說明文件.pptx
Visualpoint使用範例與架構說明.pptx
Personal tools