Presentation is loading. Please wait.

Presentation is loading. Please wait.

No Mixed Mode Debugging Support Use Multiple Instances Instead Launch the app under the script debugger Attach with the native debugger from.

Similar presentations


Presentation on theme: "No Mixed Mode Debugging Support Use Multiple Instances Instead Launch the app under the script debugger Attach with the native debugger from."— Presentation transcript:

1

2

3

4

5

6

7

8 No Mixed Mode Debugging Support Use Multiple Instances Instead Launch the app under the script debugger Attach with the native debugger from a second instance of VS Visual Studio naturally gives focus to the correct instance Cannot Debug JavaScript when stopped in the native debugger

9 Windows 8 contracts provide a new entry point for applications It’s not the same code as just launching under the debugger Simply attaching is not quick enough as you may have missed the code that you wanted to debug

10

11 Configure the app to debug without launch in the project properties F5 the app Invoke your application manually through the contract

12 Your app can register to run background tasks when certain events happen Some background tasks are straight forward to test and debug because you can trigger them manually Others can be a much bigger pain Like a maintenance trigger that fires after 8 hours

13

14 Trigger background tasks from the Debug Location Toolbar Can trigger tasks on apps that are not running Set them to debug without launching first Can trigger tasks that do not require a payload

15 There are several reasons why you may not have a VS project, but still want to debug Permissions Convenience Normally build/deploy outside of VS Attach to process is a pain for WWAs Especially if you need to debug startup code!

16

17 Use the “Debug Installed App Package Feature” Works both local and remote Can automatically stop at the first line of JavaScript Code

18

19

20

21

22

23 function Alpha() { Beta(); } function Beta() { } 30 ms 50 ms Alpha Beta 50 30 80

24

25 Walks you through testing your application Generates a report measuring 13 tenets of performance Installs with the Windows 8 SDK Activation timeMemory leaks UI responsivenessIdle state CPU usage Layout passesSuccessful suspend Synchronous XMLHttpRequest on UI threadMemory reduction when suspended Image scalingApp memory growth Memory footprintRuntime broker memory growth Runtime broker memory reference set

26

27

28

29 Object A Object B Object C Object D 500 KB 100 KB 600 KB Object A (100 KB) Object B (500 KB) Object C (50 KB) Object D (100 KB) 50 KB 100 KB 50 KB 100 KB Object A (100 KB) Object B (500 KB) 600 KB

30

31

32

33

34 Included for certain paid MSDN subscribers: Free Plan for up to 5 users Additional information at http://tfs.visualstudio.com http://tfs.visualstudio.com * Capability in preview – limits may apply. Authoring load tests requires Visual Studio Ultimate 2013 Preview. Version control (TFVC or Git) Comment on changesets & commits Work item tracking and tagging Team rooms Agile planning tools Feedback Management Agile Portfolio Management* Build* Web-based test case management* Load testing* New!

35 Activate and try out your Windows Azure MSDN benefit today & you could win an Aston Martin V8 Vantage! Learn more and activate today at http://aka.ms/AzureContesthttp://aka.ms/AzureContest

36 http://microsoft.com/msdn www.microsoft.com/learning http://channel9.msdn.com/Events/TechEd http://microsoft.com/technet

37

38

39


Download ppt "No Mixed Mode Debugging Support Use Multiple Instances Instead Launch the app under the script debugger Attach with the native debugger from."

Similar presentations


Ads by Google