debugging problem
CapableObjects Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



debugging problem Expand / Collapse
Author
Message
Posted 2008-12-18 18:03:07
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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
Post #1474
Posted 2008-12-18 19:50:47
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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]
Post #1476
Posted 2008-12-18 20:34:33
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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.
Post #1477
Posted 2008-12-18 23:52:39
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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]
Post #1479
Posted 2008-12-19 04:09:55
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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.
Post #1484
Posted 2008-12-19 06:48:58
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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]
Post #1485
Posted 2008-12-19 08:48:32
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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.

Post #1486
Posted 2008-12-19 10:31:39
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum 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.
Post #1487
Posted 2008-12-19 20:41:20
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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]
Post #1492
Posted 2008-12-21 11:25:21
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme 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
Post #1499
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: HansKarlsen, Jonas Hogstrom, PeterMorris

Permissions Expand / Collapse

All times are GMT +1:00, Time now is 12:04

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0,250. 7 queries. Compression Disabled.