Board index » delphi » De{*word*81} doesn't stop in Table events
Ronny Bengtsso
![]() Delphi Developer |
Mon, 19 Jul 2004 17:14:30 GMT
|
Ronny Bengtsso
![]() Delphi Developer |
Mon, 19 Jul 2004 17:14:30 GMT
De{*word*81} doesn't stop in Table events
Hi,
When I debugg my application I can't get the de{*word*81} to halt in any kind of /Ronny |
Team
![]() Delphi Developer |
Mon, 19 Jul 2004 23:24:12 GMT
Re:De{*word*81} doesn't stop in Table eventsAre you saying that if you set a breakpoint in a table event handler the BDE ignores the breakpoint? I have no problem debugging in table related event handlers in D6 or any prior version. -- |
Ronny Bengtsso
![]() Delphi Developer |
Mon, 19 Jul 2004 23:45:09 GMT
Re:De{*word*81} doesn't stop in Table eventsBill, Yes thats correct. /Ronny "Bill Todd (TeamB)" <bill_nos...@dbginc.com> skrev i meddelandet Quote> Are you saying that if you set a breakpoint in a table event handler the |
Craig Stunt
![]() Delphi Developer |
Tue, 20 Jul 2004 00:59:37 GMT
Re:De{*word*81} doesn't stop in Table eventsIn article <3c5964b0_2@dnews>, ronny.bengts...@robe.se says... Quote> Bill, up to Delphi. Usually when someone has breakpoints that don't trigger (or show as disabled while the program is running under the IDE) they have multiple copies of their source file in different directories. The IDE is using one, the compiler the other. HTH, -Craig -- |
Tomi
![]() Delphi Developer |
Tue, 20 Jul 2004 02:36:43 GMT
Re:De{*word*81} doesn't stop in Table eventsI think Craig has right. Put some reporting code in event handling procedure. Regards Tomi |
Ronny Bengtsso
![]() Delphi Developer |
Tue, 20 Jul 2004 02:45:47 GMT
Re:De{*word*81} doesn't stop in Table eventsCraig, That's sounds scary. /Ronny "Craig Stuntz" <cstuntz@no_spam.vertexsoftware.com> skrev i meddelandet Quote> In article <3c5964b0_2@dnews>, ronny.bengts...@robe.se says... |
Craig Stunt
![]() Delphi Developer |
Tue, 20 Jul 2004 05:42:08 GMT
Re:De{*word*81} doesn't stop in Table eventsIn article <3c598f08$1_1@dnews>, ronny.bengts...@robe.se says... Quote
compiler to find the wrong source files. IMHO, the best way to do this is to back up your code to a version control system, not to a directory somewhere. I strongly recommend use of a version control system on *any* commercial software project. Since there are good, free systems available which integrate with Delphi, there's really no excuse not to use one. This way you only ever have one copy of a particular file on your But if you must keep copies in alternate directories, look at your HTH, -Craig -- |
Ronny Bengtsso
![]() Delphi Developer |
Tue, 20 Jul 2004 07:05:11 GMT
Re:De{*word*81} doesn't stop in Table eventsCraig, Yes, we are using version control systems (MS Sourcesafe) but it sometimes Thanks /Ronny "Craig Stuntz" <cstuntz@no_spam.vertexsoftware.com> skrev i meddelandet Quote> In article <3c598f08$1_1@dnews>, ronny.bengts...@robe.se says... |
Team
![]() Delphi Developer |
Tue, 20 Jul 2004 07:36:12 GMT
Re:De{*word*81} doesn't stop in Table eventsAlso check the paths in the project file. I have seen cases where one unit was listed in the uses clause in the project file with a full path to another directory while all other units had no path and were using the copy in the project directory. -- |
Ronny Bengtsso
![]() Delphi Developer |
Tue, 20 Jul 2004 21:34:33 GMT
Re:De{*word*81} doesn't stop in Table eventsBill, Yes, we have checked all our path and they was correct. /Ronny "Bill Todd (TeamB)" <bill_nos...@dbginc.com> skrev i meddelandet Quote> Also check the paths in the project file. I have seen cases where one unit |
Robby Tanne
![]() Delphi Developer |
Tue, 20 Jul 2004 23:38:55 GMT
Re:De{*word*81} doesn't stop in Table eventsYou have the handler defined, but are you sure it's being called? When you build it (assuming D5), do you get the little blue dots beside each line? Are you sure that the handler has been assigned to a table event (check the TTable events in the Object Inspector). I've coded handlers in the past and set breakpoints only to find that the Rob Quote"Ronny Bengtsson" <ronny.bengts...@robe.se> wrote in message Quote> Bill, |
Ronny Bengtsso
![]() Delphi Developer |
Wed, 21 Jul 2004 00:24:29 GMT
Re:De{*word*81} doesn't stop in Table eventsRob, No I DON'T get the blue dot on the particular Unit (Datamodule). How can I be sure that all units has been rebuild? /Ronny "Robby Tanner" <rtan...@cls.usask.ca> skrev i meddelandet Quote> You have the handler defined, but are you sure it's being called? When |
Robby Tanne
![]() Delphi Developer |
Wed, 21 Jul 2004 00:57:48 GMT
Re:De{*word*81} doesn't stop in Table eventsIt appears we're getting somewhere. You look for the little blue dots in the "margin" (the same place where the As for making sure all the units are being built, Project | Build All should Rob Quote"Ronny Bengtsson" <ronny.bengts...@robe.se> wrote in message Quote> Rob, |
Ronny Bengtsso
![]() Delphi Developer |
Wed, 21 Jul 2004 02:09:56 GMT
Re:De{*word*81} doesn't stop in Table eventsRob, Yes, I have localised where to find the blue dots. /Ronny "Robby Tanner" <rtan...@cls.usask.ca> skrev i meddelandet Quote> It appears we're getting somewhere. |
Tomi
![]() Delphi Developer |
Wed, 21 Jul 2004 05:55:44 GMT
Re:De{*word*81} doesn't stop in Table eventsCopy *.pas and *.dfm to a new location. Define a new project with a new name and add all units. Rebuild and see if you have all *.dcu. Or define end test new event (OnCalcFields) to see if it is really working. Regards Tomi |
1. De{*word*81} doesn't stop on breakpoints.
2. De{*word*81} won't stop on breakpoints
3. De{*word*81} doesn't work any more
4. Turbo De{*word*81} doesn't work in W95
5. Turbo De{*word*81} doesn't work in W95
6. Turbo De{*word*81} Patch Doesn't Work
7. de{*word*81} doesn't display any data
8. BCB 5.0 de{*word*81} doesn't work for copied program
9. BCB5 De{*word*81} Doesn't Work!!
10. De{*word*81} doesn't see types when debugging Pascal in BCB ide