|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Yesterday @ 10:41:13
Posts: 71,
Visits: 171
|
|
Hi all,
Recently, at run time, I can not put any breakpoints in my project while debugging options are well set.
I do not know if this is related to ECO or not?
Thanks.
ps: Rad studio arhitect 2007
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 2010-11-30 12:17:13
Posts: 1 230,
Visits: 1 382
|
|
can you debug non-eco projects?
/Jonas Hogstrom [CapableObjects]
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Yesterday @ 10:41:13
Posts: 71,
Visits: 171
|
|
I think it is linked to the size of my xml data base.
No problem for small projects.
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 2010-11-30 12:17:13
Posts: 1 230,
Visits: 1 382
|
|
How big is the xml-file? I assume it is an file for a PersistenceMapperXml... It is not designed for large amounts of data, it is primarily designed for prototyping... It sounds weird though that you can't debug properly... How much memory has the application allocated when you load the data?
PersistenceMapperXml will always load the entire file into memory and then load objects from the cached copy. The database-mappers work differently and will only load data from the db when it is requested.
/Jonas Hogstrom [CapableObjects]
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Yesterday @ 10:41:13
Posts: 71,
Visits: 171
|
|
The size of the xml data base is about 20 Mo.
I intend to use XML for prototyping but, I will not migrate in the short term to an Sql PersistenceMapper,
so I need to use the PersistenceMapperXml.
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 2010-11-30 12:17:13
Posts: 1 230,
Visits: 1 382
|
|
20 meg doesn't sound like it should be a problem memorywise. Can the same application be debugged properly if you use a smaller xml-file?
/Jonas Hogstrom [CapableObjects]
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Yesterday @ 10:41:13
Posts: 71,
Visits: 171
|
|
Just now, I have tested a small project (customer/invoice) and
all things turned well.
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: Yesterday @ 10:41:13
Posts: 71,
Visits: 171
|
|
I have tested the same project with a small xml data base (2Mo) but
without any change.
|
|
|
|
|
Supreme Being
      
Group: Administrators
Last Login: 2010-11-30 12:17:13
Posts: 1 230,
Visits: 1 382
|
|
Ys (2008-12-19) I have tested the same project with a small xml data base (2Mo) but
without any change.
Does that mean that it still can't be debugged? Sounds like a support issue for CodeGear, but it is hard to tell... Do you use any other third party tools in your application? do you have any additional plugins in your IDE?
I suggest you try to locate all stray dcpil-files and other compiler output and remove those (dccil has a bad habit of spreading those files around in the most unexpected places, so look on all of c don't delete the files in the ECO and RadStudio directories. you probably shouldnt have any Eco.*.dcpil or Eco.*.dcuil-files in any other directory than the \capableobjects\eco directory. also remove any compiler output relating to your own project. then build the application again and see if it helps.
/Jonas
/Jonas Hogstrom [CapableObjects]
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
I've had this problem myself with Delphi in the past, and it was always related to debugging projects that were not the main application but referenced. I think you need to talk to CodeGear about this one.
====
Pete
|
|