Debugging

  • Thread starter Thread starter ally
  • Start date Start date
ally,

There are two things you need to debug source code for a class. The
first is the source code itself. If you don't have this, then you can't
step through line by line. The second thing you need is a build of the
assembly with the debug symbols in it. If the assembly doesn't have these,
then you can't step through it. If you have just the assembly with the
debug symbols, you could step through the IL still, but not the actual
source that was written.

Hope this helps.
 
yes I have source code but I still cant step through line by line.It was
working two hours ago and I (think)didnt change anything.
Help me please;I am getting crazy ):
 
If the source code for the class isn't in your solution already, add it as
an existing project. If it is and your still not able to get into it, try
and add a Debugging breakpoint on the line of the code that initializes the
class, ie:

thisClass = new CustomClass();

If the class your debugging is a control or component that you added at
design time, this line should be in the InitializeComponent() method of the
"Windows Form Designer generated code".

Add some additional resources:
http://msdn.microsoft.com/vbasic/us...rolscreatedwithvisualbasicnetorvisualcnet.asp

http://www.syncfusion.com/FAQ/WinForms/default.asp#60


Hope this helps,
Jacob
 
Back
Top