Q1)What are the debugging windows available?
Ans)
The windows which are available while debugging are known as debugging windows.
These are: Breakpoints, Output, Watch, Autos, Local, Immediate, Call Stacks, Threads, Modules, Processes, Memory, Disassembly and Registers.
-------------------------------------------
Q2)How do we step through code?
Ans)
Stepping through the code is a way of debugging the code in which one line is executed at a time.
There are three commands for stepping through code:
Step Into: This debugging mode is usually time-consuming. However, if one wants to go through the entire code then this can be used. When you step into at a point and a function call is made somewhere in the code, then step into mode would transfer the control to the first line of the code of the called function.
Step Over: The time consumed by the Step into mode can be avoided in the step over mode. In this, while you are debugging some function and you come across another function call inside it, then that particular function is executed and the control is returned to the calling function.
Step Out: You can Use Step Out when you are inside a function call and want to return to the calling function. Step Out resumes execution of your code until the function returns, and then breaks at the return point in the calling function.
Steps in visual studio
----------------------
Tools\Options -> Environment\Keyboard. The Step Into/Out commands are Debug.StepInto/Debug.StepOut.
Note that the default is F10 = StepOver and F11 = StepInto.
You can alternatively reset the key bindings because the default is what you want as well.
-----------------------------------------
Q3)Which one is not a testing tool in Dotnet Framework ?
Ans)
Select from following answers:
NANT - NAnt is a free .NET build tool based on Ant.
Ans)
The windows which are available while debugging are known as debugging windows.
These are: Breakpoints, Output, Watch, Autos, Local, Immediate, Call Stacks, Threads, Modules, Processes, Memory, Disassembly and Registers.
-------------------------------------------
Q2)How do we step through code?
Ans)
Stepping through the code is a way of debugging the code in which one line is executed at a time.
There are three commands for stepping through code:
Step Into: This debugging mode is usually time-consuming. However, if one wants to go through the entire code then this can be used. When you step into at a point and a function call is made somewhere in the code, then step into mode would transfer the control to the first line of the code of the called function.
Step Over: The time consumed by the Step into mode can be avoided in the step over mode. In this, while you are debugging some function and you come across another function call inside it, then that particular function is executed and the control is returned to the calling function.
Step Out: You can Use Step Out when you are inside a function call and want to return to the calling function. Step Out resumes execution of your code until the function returns, and then breaks at the return point in the calling function.
Steps in visual studio
----------------------
Tools\Options -> Environment\Keyboard. The Step Into/Out commands are Debug.StepInto/Debug.StepOut.
Note that the default is F10 = StepOver and F11 = StepInto.
You can alternatively reset the key bindings because the default is what you want as well.
-----------------------------------------
Q3)Which one is not a testing tool in Dotnet Framework ?
Ans)
Select from following answers:
- NUNIT
- NANT
- csUnit
NANT - NAnt is a free .NET build tool based on Ant.
3 comments:
Hi,
Thanks for sharing this valuable post.
Keep it on
Michigan SEO
Want to prepare for IT job . Prepare the interview questions now at very easy way.
ccna interview questions http://www.ccnatrainings.in
ccnp interview questions http://www.ccnptrainings.in
Java interview preparation http://www.javatrainings.in
Dot net Interview questions http://www.dotnettrainings.in
linux interview questions http://www.linuxtrainings.in
php interview questions http://www.phptrainings.in
If you need any more details mail to us info@chase4net.com
Excellent Microsoft Networking and System Administration Certification Education center. Excellent institute for Microsoft MCSA MCSE training on Windows Server. Highly experienced and certified trainers will train you to master all the Microsoft exam topics. High configuration Servers to run multiple Windows Operating Systems to practice using Hyper-V and VMWare.
For more details. Contact
http://www.joera.in