Hello Thomas,
when I am running the debugger I often see lines of the form "<Variable> pending..." in the Variables in the Current Clause window:
It seems it happens randomly. But, once it has happened, it tends to be sticky. I.e. when I am going on stepping through the code, the display of the variable's values stays to be pending.
Is there a way how I can prevent displays being pending?
-
- VIP Member
- Posts: 331
- Joined: 14 Nov 2002 0:01
Variables Pending in Debugger Window
Regards Martin
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
Re: Variables Pending in Debugger Window
Hi, Martin.
It has to do with a locked critical section. It is an unfortunate possibility after we have switched to "presenters". The debugger needs access to this critical section, but it can be locked by your program (which is unfortunately also braked). We use certain "tricks" to come out of this deadlock, but in your case it seems inadequate.
Can you send a Help -> Send Bug Report ... from the IDE when it happens (you can fx. write "Pending variables" in the comment field? That will give us some information to look at.
Does your program use multiple threads?
It has to do with a locked critical section. It is an unfortunate possibility after we have switched to "presenters". The debugger needs access to this critical section, but it can be locked by your program (which is unfortunately also braked). We use certain "tricks" to come out of this deadlock, but in your case it seems inadequate.
Can you send a Help -> Send Bug Report ... from the IDE when it happens (you can fx. write "Pending variables" in the comment field? That will give us some information to look at.
Does your program use multiple threads?
Regards Thomas Linder Puls
PDC
PDC
-
- VIP Member
- Posts: 331
- Joined: 14 Nov 2002 0:01
Re: Variables Pending in Debugger Window
No, it does not use multiple threads. At least not in 'my' code. I am not sure whether there is some pfc predicate, which I am calling in my program, that internally makes use of multiple threading.
Regards Martin
-
- VIP Member
- Posts: 331
- Joined: 14 Nov 2002 0:01
Re: Variables Pending in Debugger Window
I have sent a bug report from the IDE with comment "Pending variables".
Regards Martin
-
- VIP Member
- Posts: 331
- Joined: 14 Nov 2002 0:01
Re: Variables Pending in Debugger Window
When I have sent the bug report, the Variables in the Current Clause was:
Regards Martin
-
- VIP Member
- Posts: 331
- Joined: 14 Nov 2002 0:01
Re: Variables Pending in Debugger Window
It seems pending variables do not appear that randomly as I told before. At certain places in my code the effect arises very likely, but at others never.
Regards Martin
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
Re: Variables Pending in Debugger Window
Thank you, we will look at it.
Regards Thomas Linder Puls
PDC
PDC
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
Re: Variables Pending in Debugger Window
Regards Thomas Linder Puls
PDC
PDC