How do I step into browse dialog souce?


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
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! Smile  Thank you!

Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)
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. Smile
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
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.
Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)
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 BigGrin





Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)
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.

Charles R Hankey
Charles R Hankey
Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)Advanced StrataFrame User (922 reputation)
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?



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