Commit b0c6f0a4 authored by rdubner's avatar rdubner
Browse files

Debug *(int *) logic

parent 61b78fab
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISY=1</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISY=1</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISY=1</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_2\rtest.cbl</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>-f C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest C:\Users\Bob\repos\cbl-gdb-samples\ref_test_14\rtest.cbl</LocalDebuggerCommandArguments>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerEnvironment>COBST_NOISY=1</LocalDebuggerEnvironment>
<LocalDebuggerEnvironment>COBST_NOISYx=1</LocalDebuggerEnvironment>
</PropertyGroup>
</Project>
\ No newline at end of file
......@@ -117,19 +117,18 @@ SquishAwayStarIntStar(const string &s_)
if( nfound1 != string::npos ) {
nfound2 = s.find(')',nfound1 + strlen("(*(int *)") );
if( nfound2 != string::npos ) {
nfound2 += 1;
nfound2 += 2;
string param = ExtractVariableNameFrom( s.substr(nfound1 + strlen("(*(int *)")) );
retval = s.substr(0,nfound1);
retval += ' ';
retval += param;
retval += ' ';
retval += s.substr(nfound2);
}
} else {
nfound1 = s.size();
nfound2 = nfound1;
retval += s;
}
retval += s.substr(0,nfound1);
s = s.substr(nfound2);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment