How to setup source code for step-into in debug ?


Author
Message
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
I have the source zip downloaded from the accounts section. Now what?



I think this was touched on in class, but the actual implementation didn't stick.



I seem to remember there were not a lot of step involved so if someone could walk me through it I'd appreciate it



( feel free to speak slowly using small words as you might for a lovable but not terribly bright child Smile )



Also are there problems when using a beta for which the source has not yet be put in the account downloads?





Reply
Charles R Hankey
Charles R Hankey
StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)StrataFrame VIP (1.3K reputation)
Group: Forum Members
Posts: 524, Visits: 30K
Just to follow up a bit for benefit of lurkers and anyone searching for this later :

Today we wanted to understand exactly what happened when double-clicking on a row in a listview and briinging up an edit dialog ( the thing that piqued the curiosity was trying to understand why explicitly setting the pointer of the listviews BO to the instance on the edit form was necessary when coming to the edit form from a double-click but was not necessary when coming form a button that called the edit() and then showdialogue()

Once we determined the MouseDoubleclick of the listview (and not the doubleclick as we first thought) was the event that was handled, we put a stub method in the calling form

Private Sub lvEmployeeActions_MouseDoubleClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles lvEmployeeActions.MouseDoubleClick

End Sub

Put a breakpoint on the endsub.  When the break came, the callstack showed the Microfour method which is being inherited

Doubeclick it in the callstack and you're off an running, can then step through a lot of framework code.

Of course, if you are moving through your code and hit a method (rather than an event handler ) you can just step in to get to the SF stuff

Hope this helps somebody else.  A great way to start understanding (and appreciated) what the Microfourians have been up to

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search