Debug

MGumbrell

Registered User.
Local time
Today, 02:41
Joined
Apr 22, 2005
Messages
129
Further on from my previous thread regarding Hyperlinks. I have changed a few things where one minute it appeared to work but now it has failed. When it shows an error and the Debug option is accepted in immediately takes you to the code with the problem (in yellow). This of course is a very handy application so it is possible to check value of a line by covering it with the cursor. This would be even more helpful if it is possible to do this in a line of code that works just to compare the two.

Is it possible to enter this mode without there being a problem in the first place. Where the values of the code in that line can be checked. This would also help in the understanding of what the code has seen.

Regards, Matt
 
MGumbrell said:
Further on from my previous thread regarding Hyperlinks. I have changed a few things where one minute it appeared to work but now it has failed. When it shows an error and the Debug option is accepted in immediately takes you to the code with the problem (in yellow). This of course is a very handy application so it is possible to check value of a line by covering it with the cursor. This would be even more helpful if it is possible to do this in a line of code that works just to compare the two.

Is it possible to enter this mode without there being a problem in the first place. Where the values of the code in that line can be checked. This would also help in the understanding of what the code has seen.

Regards, Matt

Break your code. That way when it runs, You can step through it. On the left side of the code click and a little red dot should come up. It looks like a stop sign. Then you go run your code.

It will come up and break mode and allow you to step through it. Hit F8 to move through it.

HTH
 
Brilliant, Thanks

I can now see what the code sees when things are going RIGHT!

Regards, Matt
 
MGumbrell said:
Brilliant, Thanks

I can now see what the code sees when things are going RIGHT!

Regards, Matt


Yes, I love it. It also works to help you find code before it breaks.

Secondly, if you drag the little yellow arrow back up, it will allow you to move the code backwards and rerun it with out having to start over every time.

have a good weekend
 

Users who are viewing this thread

Back
Top Bottom