cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jonathanqis
Level 6

Debugger not working properly

I seem unable to debug into any function that contains a string array.

e.g. STRING mystring(10);

This happens for a brand new MSI Installscript project.
The following code can hit break points in OnBegin and myFunc_2, but not in myFunc_1 (until you remove the string array).

#include "ifx.h"

prototype myFunc_1();
prototype myFunc_2();

function OnBegin()
begin
myFunc_1();
myFunc_2();
end;

function myFunc_1()
STRING test(10);
begin
test(0) = "hello";
MessageBox(test(0), INFORMATION);
end;

function myFunc_2()
STRING test;
begin
test = "hello";
MessageBox(test, INFORMATION);
end;


I think this is a significant bug in the operation of the debugger.

Has anybody solved this problem ?
Is this a known bug, and being fixed in next release ?
Anyone got a workaround ?

Help !

This is a significant impediment to creating some of our installs.
Labels (1)
0 Kudos
(1) Reply
Roman1
Level 9

Hello,
it is a known error.

I have also found out:
Function with any array can not be debugged.
Debugger crashes.
Affected are projects of type script and msi with script CA.
No workaround is known.

In the next time it should be fixed.
0 Kudos