Link to home
Start Free TrialLog in
Avatar of wallacjb
wallacjb

asked on

Better way to debug a class?

I wrote some classes and the debug is driving me craze.
it just lock up the system when I change some thing like comment out a redim statement, etc.
Is there a better way to debug? I am using VB 6 and with the regular vb debug step through.
Avatar of caraf_g
caraf_g

For all DLLs and OCX controls and the likes, make sure you set binary compatibility on.

Then add all your projects into a project group, making sure your main .exe is the main project.

Now you can step through the whole code, jumping from main .exe to one of your .dlls/ocxes and so on, without problems.
Avatar of wallacjb

ASKER

That is what I am doing. I can step to all code. My problem is if I do something in the code of the Cls(such as comment out a redim statement), the system often lockup.
ASKER CERTIFIED SOLUTION
Avatar of waty
waty
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you waty.
I am increase the number of points
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  If you are an EE Pro user, you can also choose Power Search to find all your open questions.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.

https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thank you,
Moondancer
Moderator @ Experts Exchange