StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
How do I step into browse dialog souce?
How do I step into browse dialog souce?
Post Reply
Like
0
How do I step into browse dialog souce?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Would encourage anyone who hasn't been doing it to step into the source regularly - if for no other reason than to see what good code is
supposed
to look like.
You have no idea how much I appreciate that comment!
Thank you!
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
Yes, thanks. I actually found the answer in my old post ( see above )
I was thinking foxpro-ish and looking for a spot where I could halt and step into a method, but all I could find were events. Of course if you put a break on the end sub of the event handler at that point the call-stack wiil show the source routine and double-click that and you are in source. Very cool stuff.
Would encourage anyone who hasn't been doing it to step into the source regularly - if for no other reason than to see what good code is
supposed
to look like.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Did you get this figured out? In short, make sure that you have the framework built in debug mode and those debug assemblies added to the GAC. Once this is done, you can put a break point prior to executing a search or open up the BrowseDialogWindow source file and put a break point on the ExecuteSearch method from within the VS IDE you are executing your test program. It will then break when this line of code is hit just as though it were part of your application.
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
There is a lot to be said for posting one's discoveries here !
http://forum.strataframe.net/FindPost21042.aspx
I put that up over a year ago and I think it is the answer to my question
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 524,
Visits: 30K
Or should I be putting a breakpoint in the source itself rather than looking for a step into point in my code?
I tried putting a break in the source and recompiling in debug but the app doesn't seem to see the breakpoint when it runs.
Reply
Like
0
Charles R Hankey
Charles R Hankey
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 524,
Visits: 30K
I'd like to step into the browse dialog source, but I'm not finding a place to put a breakpoint. I would guess I should put a variable break of some kind that says when the controlling routine is browsedialogwindow break but I'm not sure of the syntax. Tried to figure out breaking on the click of the browse button on a maintenanceforntoolstrip.
Rowpopulating is too late. I want to get in before the query is built to look at the loinfo object inside the browsedialogwindow
Thoughts?
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search