Debugging a Program

Your Ad Here


To learn how to debug code in Visual Basic, change the code in the Code window to cause errors to occur while executing it.

There are various ways to debug a program. Because this is a simple program, this debugging exercise is also simple.

  1. Delete the letter r from the variable Part and change the name of the method InsertSketch to InsertSketch2.

  1. In the SolidWorks graphics area, select the top face.

Next

Return SolidWorks Help Index

Your Ad Here