Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5601 > unrolled thread

Problems with debugger

Started byKrystian <softb@softb.pl>
First post2013-07-31 08:52 -0700
Last post2013-08-01 14:51 -0700
Articles 10 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Problems with debugger Krystian <softb@softb.pl> - 2013-07-31 08:52 -0700
    Re: Problems with debugger D.J.W. van Kooten <public@ic2remove.this.com> - 2013-07-31 19:11 +0200
      Re: Problems with debugger Krystian <softb@softb.pl> - 2013-07-31 11:14 -0700
        Re: Problems with debugger D.J.W. van Kooten <public@ic2remove.this.com> - 2013-07-31 21:24 +0200
          Re: Problems with debugger Krystian <softb@softb.pl> - 2013-07-31 15:53 -0700
    Re: Problems with debugger Massimo Bighelli <info@arcasistemi.it> - 2013-08-01 00:52 +0200
      Re: Problems with debugger Krystian <softb@softb.pl> - 2013-08-01 03:29 -0700
        Re: Problems with debugger Massimo Bighelli <info@arcasistemi.it> - 2013-08-01 20:43 +0200
        Re: Problems with debugger dlzc <dlzc1@cox.net> - 2013-08-01 11:55 -0700
          Re: Problems with debugger Krystian <softb@softb.pl> - 2013-08-01 14:51 -0700

#5601 — Problems with debugger

FromKrystian <softb@softb.pl>
Date2013-07-31 08:52 -0700
SubjectProblems with debugger
Message-ID<1b3e898a-37c7-4a44-a4ca-adf776f946d5@googlegroups.com>
Hi,

Do you know, what my be a reason for such "screen of death" during debugging ?
It looks like this :
 - the program stops on a beakpoint and I invoke locals and database (ctrl L + ctrl D)
 - in few seconds iI get the error screen with "unhandled exception 0xC0...5"
 - after such exit I found a new module __VO__DebugModule (on the beginning it is hidden, and I am not able to compile program; I must export the whole program to aef, delete it in a repository and then import from aef; after such strange operations the extra module is visible and I am able to delete it)

Is it possible, to mix in one app two systems of indexes : cdx for new dbf's and ntx in old, working for many years ?
I asked, because I had many unexpected exits and I return back to ntx.

Thanks in advance
Krystian

[toc] | [next] | [standalone]


#5603

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2013-07-31 19:11 +0200
Message-ID<e6hiv85qbb93drkke0edfh6jtcqk1oqvhg@4ax.com>
In reply to#5601
On Wed, 31 Jul 2013 08:52:46 -0700 (PDT), Krystian <softb@softb.pl>
wrote:

Hello Krystian,

>Do you know, what my be a reason for such "screen of death" during debugging ?

Usually a project reindex solves unexpected run time errors. Did you
try that?

Dick

[toc] | [prev] | [next] | [standalone]


#5604

FromKrystian <softb@softb.pl>
Date2013-07-31 11:14 -0700
Message-ID<2063dadb-3287-4b15-b453-37121182288b@googlegroups.com>
In reply to#5603
W dniu środa, 31 lipca 2013 19:11:10 UTC+2 użytkownik D. J. W. van Kooten napisał:
> On Wed, 31 Jul 2013 08:52:46 -0700 (PDT), Krystian <softb@softb.pl>
> 
> wrote:
> 
> 
> 
> Hello Krystian,
> 
> 
> 
> >Do you know, what my be a reason for such "screen of death" during debugging ?
> 
> 
> 
> Usually a project reindex solves unexpected run time errors. Did you
> 
> try that?
> 
> 
> 
> Dick

Hallo Dick,

Thank you for answer;
I reindex and rebuild that ... several times per hour and it does not help.

Krystian

[toc] | [prev] | [next] | [standalone]


#5605

FromD.J.W. van Kooten <public@ic2remove.this.com>
Date2013-07-31 21:24 +0200
Message-ID<hroiv8d4bp47gqsg2jbgtefs7gfrgkfghb@4ax.com>
In reply to#5604
On Wed, 31 Jul 2013 11:14:16 -0700 (PDT), Krystian <softb@softb.pl>
wrote:

Hello Krystian,

>Thank you for answer;
>I reindex and rebuild that ... several times per hour and it does not help.
>
The following 2 links should help you:

This explains what VO_DEBUG_MODUL is: "The VO_DEBUG_MODULE is the
moduoe where Robert store's debug info when
running the debugger."

http://comp.lang.clipper.visual-objects.free-usenet.eu/Clipboard-Debugging_T32439761_S1

This looks much like your problem. I am not sure if your solution is
Richard's (Completely rebuilding the repo from, scratch)  or Szo"ke
Gábor's (reinstalling a SP) but hopefully it helps you out:

http://comp.lang.clipper.visual-objects.free-usenet.eu/problem-with-the-debug-of-Ca-Vo-2.8-sp2_T32376836_S1


Dick

[toc] | [prev] | [next] | [standalone]


#5608

FromKrystian <softb@softb.pl>
Date2013-07-31 15:53 -0700
Message-ID<3d722117-cfae-4ff7-9cf8-d1efeb5758f1@googlegroups.com>
In reply to#5605
W dniu środa, 31 lipca 2013 21:24:19 UTC+2 użytkownik D. J. W. van Kooten napisał:
> On Wed, 31 Jul 2013 11:14:16 -0700 (PDT), Krystian <softb@softb.pl>
> 
> wrote:
> 
> 
> 
> Hello Krystian,
> 
> 
> 
> >Thank you for answer;
> 
> >I reindex and rebuild that ... several times per hour and it does not help.
> 
> >
> 
> The following 2 links should help you:
> 
> 
> 
> This explains what VO_DEBUG_MODUL is: "The VO_DEBUG_MODULE is the
> 
> moduoe where Robert store's debug info when
> 
> running the debugger."
> 
> 
> 
> http://comp.lang.clipper.visual-objects.free-usenet.eu/Clipboard-Debugging_T32439761_S1
> 
> 
> 
> This looks much like your problem. I am not sure if your solution is
> 
> Richard's (Completely rebuilding the repo from, scratch)  or Szo"ke
> 
> Gábor's (reinstalling a SP) but hopefully it helps you out:
> 
> 
> 
> http://comp.lang.clipper.visual-objects.free-usenet.eu/problem-with-the-debug-of-Ca-Vo-2.8-sp2_T32376836_S1
> 
> 
> 
> 
> 
> Dick

Hi Dick, 

Thank you for the advice.
I reinstalled win xp twice and also cavo 2.8 sp2 - but i try to delete dll's and reinstall once again.

I do not understand the problem with debug module. I suppose, that problem may be connected with the old dell inspirion 1501 and only 1GB memory.

With reagrds
Krystian

[toc] | [prev] | [next] | [standalone]


#5607

FromMassimo Bighelli <info@arcasistemi.it>
Date2013-08-01 00:52 +0200
Message-ID<ktc4f0$unp$1@speranza.aioe.org>
In reply to#5601
Il 31/07/2013 17:52, Krystian ha scritto:
>
> Is it possible, to mix in one app two systems of indexes : cdx for new dbf's and ntx in old, working for many years ?
> I asked, because I had many unexpected exits and I return back to ntx.
>
> Thanks in advance
> Krystian
>

yes, I did this, years ago, during the transition from ntx to cdx.
this was my path:
1. only dbserver object, no USE, no old style clipper on DBF
2. always pass the driver parameter to dbserver
3. be carefull in re-creating structure and indexes changing from DBFNTX 
to DBFCDX

HTH

*Massimo Bighelli* ARCA Sistemi S.r.l.

[toc] | [prev] | [next] | [standalone]


#5610

FromKrystian <softb@softb.pl>
Date2013-08-01 03:29 -0700
Message-ID<b12ab605-a0c7-4102-8f95-057d71713b76@googlegroups.com>
In reply to#5607
W dniu czwartek, 1 sierpnia 2013 00:52:18 UTC+2 użytkownik Massimo Bighelli napisał:
> Il 31/07/2013 17:52, Krystian ha scritto:
> 
> >
> 
> > Is it possible, to mix in one app two systems of indexes : cdx for new dbf's and ntx in old, working for many years ?
> 
> > I asked, because I had many unexpected exits and I return back to ntx.
> 
> >
> 
> > Thanks in advance
> 
> > Krystian
> 
> >
> 
> 
> 
> yes, I did this, years ago, during the transition from ntx to cdx.
> 
> this was my path:
> 
> 1. only dbserver object, no USE, no old style clipper on DBF
> 
> 2. always pass the driver parameter to dbserver
> 
> 3. be carefull in re-creating structure and indexes changing from DBFNTX 
> 
> to DBFCDX
> 
> 
> 
> HTH
> 
> 
> 
> *Massimo Bighelli* ARCA Sistemi S.r.l.

Hi Massimo,

Thank you for your time and answer.
I did the same way.
I had the default dbfntx rdd set and open dbf's with explicitly given cdx driver. But what do you do, if you want to open a file in a natural order ?
If there is an index file, it is always opened, and then I closed it. In such situation sometimes I opened the file only for read with the ntx driver - but is it correct ? I received really strange errors and I stopped to mix rdds.

Thanks
Have a good day
Krystian
Do you know the

[toc] | [prev] | [next] | [standalone]


#5615

FromMassimo Bighelli <info@arcasistemi.it>
Date2013-08-01 20:43 +0200
Message-ID<ktea90$b1u$2@speranza.aioe.org>
In reply to#5610
Il 01/08/2013 12:29, Krystian ha scritto:

>
> Hi Massimo,
>
> Thank you for your time and answer.
> I did the same way.
> I had the default dbfntx rdd set and open dbf's with explicitly given
> cdx driver. But what do you do, if you want to open a file in a natural order ?

I do not know if it makes a difference, but my driver was CDX default, 
and in any case, I spent explicitly the driver opening the server, always.
never had the need for a natural order .. if I have indexes, I use them 
and keep them up to date.


> If there is an index file, it is always opened, and then I closed it.
 > In such situation sometimes I opened the file only for read with the
 > ntx driver - but is it correct ? I received really strange errors
 > and I stopped to mix rdds.
>

if you open a DBF in RW mode without open indexes, surely you will gain 
problems.
with the CDX file there is an option to avoid the automatically opened 
index with the same name

 > I received really strange errors and I stopped to mix rdds.

I was successful in the enterprise, but it only lasted for a couple of 
months, then they were all in CDX.
what kind of errors? corruptions?

regards

*Massimo Bighelli* ARCA Sistemi S.r.l.

[toc] | [prev] | [next] | [standalone]


#5616

Fromdlzc <dlzc1@cox.net>
Date2013-08-01 11:55 -0700
Message-ID<070b1d5f-5f8c-49a9-be95-5e0eb7d1e8ad@googlegroups.com>
In reply to#5610
Dear Krystian:

On Thursday, August 1, 2013 3:29:08 AM UTC-7, Krystian wrote:
...
> But what do you do, if you want to open a file
> in a natural order ?

If it has indexes, NEVER open it in natural order, unless you are absolutely sure you are making no changes to the data in any fields, or deleting any records.  SET ORDER TO 0, assures that you walk the file from start to finish, with minimal index overhead.
 
> If there is an index file, it is always opened,
> and then I closed it. In such situation sometimes
> I opened the file only for read with the ntx
> driver - but is it correct ?

"Correct" is meaningless.  Doing what you have done can be dangerous.

> I received really strange errors and I stopped
> to mix rdds.

You might try it both ways, the dangerous way, and SET ORDER TO 0, and see if you are saving that much time.  Enough that you can waste debugging time looking for strange errors, and the hit your customers feel when your code stops working.

David A. Smith

[toc] | [prev] | [next] | [standalone]


#5620

FromKrystian <softb@softb.pl>
Date2013-08-01 14:51 -0700
Message-ID<d2cad760-224a-40b9-9e29-9b81995fe2d5@googlegroups.com>
In reply to#5616
W dniu czwartek, 1 sierpnia 2013 20:55:42 UTC+2 użytkownik dlzc napisał:
> Dear Krystian:
> 
> 
> 
> On Thursday, August 1, 2013 3:29:08 AM UTC-7, Krystian wrote:
> 
> ...
> 
> > But what do you do, if you want to open a file
> 
> > in a natural order ?
> 
> 
> 
> If it has indexes, NEVER open it in natural order, unless you are absolutely sure you are making no changes to the data in any fields, or deleting any records.  SET ORDER TO 0, assures that you walk the file from start to finish, with minimal index overhead.
> 
>  
> 
> > If there is an index file, it is always opened,
> 
> > and then I closed it. In such situation sometimes
> 
> > I opened the file only for read with the ntx
> 
> > driver - but is it correct ?
> 
> 
> 
> "Correct" is meaningless.  Doing what you have done can be dangerous.
> 
> 
> 
> > I received really strange errors and I stopped
> 
> > to mix rdds.
> 
> 
> 
> You might try it both ways, the dangerous way, and SET ORDER TO 0, and see if you are saving that much time.  Enough that you can waste debugging time looking for strange errors, and the hit your customers feel when your code stops working.
> 
> 
> 
> David A. Smith

Hallo David,

Thank you for answer;
Sometimes when I configure the program for the user I set some data on several first records of database to which user may add their own information/records; the program "knows" that on 1, 2 or 3 record there is proper data.
I only use methods of dbserver class - and not mix with old clipper instructions.
I try to return back to cdx, maybe the apps will work faster in a network environment.

With regards
Have a good day and the whole weekend
Krystian

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web