v11 Debug on Windows

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey Everyone

I'm getting an exception in my debug log just when starting v11 in  
debug mode from Visual C++ (Express) on Windows XP Pro SP3. I'm using  
a completely empty plugin and sample database generated from the  
latest plugin wizard. I have tried with 4Dv11.4 and v11.4HF5 and with  
Visual C++ Express 2005 and 2008.

The error is:

=====================================
First-chance exception at 0x7c812afb in 4D.exe: Microsoft C++  
exception: xercesc_2_8::EndOfEntityException at memory location  
0x0f79f918..
=====================================


4D developer still loads correctly, however when I then quit 4D, I  
usually (but not always) get the following error:


=====================================
HEAP[4D.exe]: HEAP: Free Heap block 162fb8 modified at 163010 after it  
was freed
Windows has triggered a breakpoint in 4D.exe.

This may be due to a corruption of the heap, which indicates a bug in  
4D.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while 4D.exe has focus.

The output window may have more diagnostic information.
=====================================


Is it just me or is anybody else seeing this? It kind of makes it hard  
to do any plugin development when the environment starts out in an  
unstable state...

Regards

Justin Carr
Genie Solutions Pty Ltd
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Is it just me or is anybody else seeing this? It kind of makes it  
> hard to do any plugin development when the environment starts out in  
> an unstable state...

I have successfully generated a plugin from the wizard. Not sure why  
this is happening to you.

Regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 02/09/2009, at 11:22 PM, Aparajita Fishman <aparajita@...
 > wrote:

>> Is it just me or is anybody else seeing this? It kind of makes it  
>> hard to do any plugin development when the environment starts out  
>> in an unstable state...
>
> I have successfully generated a plugin from the wizard. Not sure why  
> this is happening to you.

Thanks Aparajita. Just to be clear, I have no problem generating the  
plugin. It's when I try and launch 4D from the Visual C++ debugger  
with the debug version of the plugin. Nevertheless I'll try it on  
another machine to see if the problem persists.

Regards
Justin Carr
Genie Solutions
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by aparajita :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Thanks Aparajita. Just to be clear, I have no problem generating the  
> plugin. It's when I try and launch 4D from the Visual C++ debugger  
> with the debug version of the plugin.

I meant I have successfully generated and debugged a plugin.

Regards,

    Aparajita
    www.aparajitaworld.com

    "If you dare to fail, you are bound to succeed."
    - Sri Chinmoy   |   www.srichinmoy.org

**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Thanks Aparajita. Just to be clear, I have no problem generating  
>> the plugin. It's when I try and launch 4D from the Visual C++  
>> debugger with the debug version of the plugin.
>
> I meant I have successfully generated and debugged a plugin.

Thanks. That's good to know. It must be something with my setup.
>

Regards
Justin Carr
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 03/09/2009, at 12:37 PM, I wrote:

>>> Thanks Aparajita. Just to be clear, I have no problem generating  
>>> the plugin. It's when I try and launch 4D from the Visual C++  
>>> debugger with the debug version of the plugin.
>>
>> I meant I have successfully generated and debugged a plugin.
>
> Thanks. That's good to know. It must be something with my setup.

OK, so I've tried 3 different machines (2 running Vista Business and  
one running XP Pro SP3) with both VC 2005 and 2008 Express editions  
and they all exhibit the same behaviour, i.e. the following message  
appears in the Debug Output window:

First-chance exception at 0x7c812afb in 4D.exe: Microsoft C++  
exception: xercesc_2_8::EndOfEntityException at memory location  
0x0fd5f950..


4D does then launch OK but I frequently get the following message  
shortly thereafter (even if I just immediately quit 4D once it  
launches):

--------------------------------------------------
HEAP[4D.exe]: HEAP: Free Heap block 162ec8 modified at 162f20 after it  
was freed
Windows has triggered a breakpoint in 4D.exe.

This may be due to a corruption of the heap, which indicates a bug in  
4D.exe or any of the DLLs it has loaded.
--------------------------------------------------


I'm pretty sure it has nothing to do with my plugin... here's the  
entire source code for that:


#include "4DPluginAPI.h"

void PluginMain( long selector, PA_PluginParameters params )
{
}


All I'm doing is using the project generated by the plugin wizard and  
editing the Debugging properties, supplying the full path to my 4D.exe  
in the Command parameter, and the full path to the sample database  
sample.4db generated by the plugin wizard to the Command Arguments  
parameter. Then I build the project and choose Start Debugging from  
the Debug menu.

Is really no-one else getting this message in the Debug Output window?  
It specifically occurs between the 2nd and 3rd kCreateProcess (-3)  
selector values.

Thanks for any ideas, or even just confirmation that you do or don't  
get this message in the Debug Output window...

Justin Carr
Genie Solutions
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Andreas Menzi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Justin,

I'm working with VC2008 Express too. I didn't manage to debug my  
project through the start command. So I would build my project, start  
the database and then attach to the process with ctrl-alt-p.
Did you try this already?

andy

Am 08.09.2009 um 07:19 schrieb Justin Carr:

> On 03/09/2009, at 12:37 PM, I wrote:
>
>>>> Thanks Aparajita. Just to be clear, I have no problem generating  
>>>> the plugin. It's when I try and launch 4D from the Visual C++  
>>>> debugger with the debug version of the plugin.
>>>
>>> I meant I have successfully generated and debugged a plugin.
>>
>> Thanks. That's good to know. It must be something with my setup.
>
> OK, so I've tried 3 different machines (2 running Vista Business and  
> one running XP Pro SP3) with both VC 2005 and 2008 Express editions  
> and they all exhibit the same behaviour, i.e. the following message  
> appears in the Debug Output window:
>
> First-chance exception at 0x7c812afb in 4D.exe: Microsoft C++  
> exception: xercesc_2_8::EndOfEntityException at memory location  
> 0x0fd5f950..
>
>
> 4D does then launch OK but I frequently get the following message  
> shortly thereafter (even if I just immediately quit 4D once it  
> launches):
>
> --------------------------------------------------
> HEAP[4D.exe]: HEAP: Free Heap block 162ec8 modified at 162f20 after  
> it was freed
> Windows has triggered a breakpoint in 4D.exe.
>
> This may be due to a corruption of the heap, which indicates a bug  
> in 4D.exe or any of the DLLs it has loaded.
> --------------------------------------------------
>
>
> I'm pretty sure it has nothing to do with my plugin... here's the  
> entire source code for that:
>
>
> #include "4DPluginAPI.h"
>
> void PluginMain( long selector, PA_PluginParameters params )
> {
> }
>
>
> All I'm doing is using the project generated by the plugin wizard  
> and editing the Debugging properties, supplying the full path to my  
> 4D.exe in the Command parameter, and the full path to the sample  
> database sample.4db generated by the plugin wizard to the Command  
> Arguments parameter. Then I build the project and choose Start  
> Debugging from the Debug menu.
>
> Is really no-one else getting this message in the Debug Output  
> window? It specifically occurs between the 2nd and 3rd  
> kCreateProcess (-3) selector values.
>
> Thanks for any ideas, or even just confirmation that you do or don't  
> get this message in the Debug Output window...
>
> Justin Carr
> Genie Solutions
> **********************************************************************
> 4D Plugins hosted by 4D, Inc.                      http://www.4D.com/
>
>   Register for 4D Summit 2009 Today
>   Early Bird Pricing Ends August 28th - http://www.4D.com/summit
>
> To Unsubscribe:                      mailto:4D-Plugins-off@...
> ***********************************************************************
>

**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by David Dancy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Justin

2009/9/8 Justin Carr <justin@...>:
>
> Is really no-one else getting this message in the Debug Output window? It
> specifically occurs between the 2nd and 3rd kCreateProcess (-3) selector
> values.
>

I just tried an empty plugin from the v11 Wizard. Running it up into
v11.4 using Visual Studio 2008 Team Edition produces no errors.

Here's the user project file:

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioUserFile
        ProjectType="Visual C++"
        Version="9.00"
        ShowAllFiles="false"
        >
        <Configurations>
                <Configuration
                        Name="Debug|Win32"
                        >
                        <DebugSettings
                                Command="C:\Program Files\4D\4D v11 SQL Release 4 Custom\4D II\4D.exe"
                                WorkingDirectory="C:\Projects\4DPlugins\v11\Testv11\sample.4dbase"
                                CommandArguments="C:\Projects\4DPlugins\v11\Testv11\sample.4dbase\sample.4db"
                                Attach="false"
                                DebuggerType="3"
                                Remote="1"
                                RemoteMachine="L00516"
                                RemoteCommand=""
                                HttpUrl=""
                                PDBPath=""
                                SQLDebugging=""
                                Environment=""
                                EnvironmentMerge="true"
                                DebuggerFlavor="0"
                                MPIRunCommand=""
                                MPIRunArguments=""
                                MPIRunWorkingDirectory=""
                                ApplicationCommand=""
                                ApplicationArguments=""
                                ShimCommand=""
                                MPIAcceptMode=""
                                MPIAcceptFilter=""
                        />
                </Configuration>
                <Configuration
                        Name="Release|Win32"
                        >
                        <DebugSettings
                                Command=""
                                WorkingDirectory=""
                                CommandArguments=""
                                Attach="false"
                                DebuggerType="3"
                                Remote="1"
                                RemoteMachine="L00516"
                                RemoteCommand=""
                                HttpUrl=""
                                PDBPath=""
                                SQLDebugging=""
                                Environment=""
                                EnvironmentMerge="true"
                                DebuggerFlavor=""
                                MPIRunCommand=""
                                MPIRunArguments=""
                                MPIRunWorkingDirectory=""
                                ApplicationCommand=""
                                ApplicationArguments=""
                                ShimCommand=""
                                MPIAcceptMode=""
                                MPIAcceptFilter=""
                        />
                </Configuration>
        </Configurations>
</VisualStudioUserFile>

This configuration automatically launches 4D with the sample database
open, plugin loaded for testing, no exceptions generated. I believe
the same configuration files work in the Express editions as for the
Pro/Team editions.

HTH

--
David Dancy
Sydney, Australia
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/09/2009, at 3:32 PM, Andreas Menzi wrote:

> Hi Justin,
>
> I'm working with VC2008 Express too. I didn't manage to debug my  
> project through the start command. So I would build my project,  
> start the database and then attach to the process with ctrl-alt-p.
> Did you try this already?

Hi Andy

Thanks! No, I hadn't tried that. I've just had a quick play with it  
and I haven't had it throw the error again yet so I'm keeping my  
fingers crossed...

Regards
Justin Carr
Genie Solutions
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/09/2009, at 3:44 PM, David Dancy wrote:

> Justin
>
> 2009/9/8 Justin Carr <justin@...>:
>>
>> Is really no-one else getting this message in the Debug Output  
>> window? It
>> specifically occurs between the 2nd and 3rd kCreateProcess (-3)  
>> selector
>> values.
>>
>
> I just tried an empty plugin from the v11 Wizard. Running it up into
> v11.4 using Visual Studio 2008 Team Edition produces no errors.
>
> Here's the user project file:
<snip>
>
> This configuration automatically launches 4D with the sample database
> open, plugin loaded for testing, no exceptions generated. I believe
> the same configuration files work in the Express editions as for the
> Pro/Team editions.
>


Thanks David. Your project file is virtually identical to mine so I'm  
guessing it's either something with the Express edition or I'm loading  
different DLLs somewhere along the line. Andreas Menzi's suggestion of  
starting 4D first and then attaching to the process looks like it  
might be a workaround for me now anyway although it's slightly  
annoying not to be able to just hit F5...

Regards
Justin Carr
Genie Solutions
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by David Dancy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No need to attach or anything.

I've just run the test on my Windows XP SP3 box at home using Visual
C++ 2008 Express, and it works completely as advertised. I don't know
if this is anything to do with it, but I made sure to specify the full
path to the 4D application in the Command property, the full path to
the sample.4db in the Command Arguments property, and I also set the
Working Directory for the program to the full path of the sample.4db's
parent folder.

Build, hit F5, and 10 seconds later I have 4D v11.4 running sample.4db
with the plugin loaded. No exceptions.

Want to investigate more?

--
David Dancy
Sydney, Australia
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by David Dancy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, I looked a bit more closely this time. I was fooled by the fact
that 4D came up seemingly without any problems, but looking at the
output log I see that there are several exceptions being thrown:

Sorry Justin, I should have looked at the right thing to begin with!

Now that I'm looking with my seeing specs on, it appears that the
Xerces exception is being thrown in VC++9 Express here on XP and also
in Visual Studio 9 on Vista.

However, I'm not seeing any heap problems when the program quits.

--
David Dancy
Sydney, Australia
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Rob Laveaux :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 2 sep 2009, at 06:36, Justin Carr wrote:

> The error is:
>
> =====================================
> First-chance exception at 0x7c812afb in 4D.exe: Microsoft C++  
> exception: xercesc_2_8::EndOfEntityException at memory location  
> 0x0f79f918..
> =====================================

Just a wild guess, but could it be that "Break on exception" is turned  
on?
Try to turn that off and see if it makes a difference. In the "Debug"  
menu, select "Exceptions...".

HTH,

- Rob Laveaux

--------------------------------------------------------
Pluggers Software
Bleriotlaan 62
2497 BM  Den Haag
The Netherlands

Email: rob.laveaux@...
Website: http://www.pluggers.nl

--------------------------------------------------------



**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Parent Message unknown RE: v11 Debug on Windows

by Joshua Fletcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Justin,

> -----Original Message-----
> OK, so I've tried 3 different machines (2 running Vista Business and
> one running XP Pro SP3) with both VC 2005 and 2008 Express editions
> and they all exhibit the same behaviour...

FWIW I was unable to get plug-in compiling working with the Express Edition
because of missing dlls that are only included with Pro (so I didn't even
get as far as testing debugging).

Maybe try a trial version of Pro?

Kind regards,
 
Josh Fletcher
 
--
Josh Fletcher
4D Technical Services Team Member
http://www.4d.com


**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/09/2009, at 9:40 PM, Rob Laveaux wrote:

>> The error is:
>>
>> =====================================
>> First-chance exception at 0x7c812afb in 4D.exe: Microsoft C++  
>> exception: xercesc_2_8::EndOfEntityException at memory location  
>> 0x0f79f918..
>> =====================================
>
> Just a wild guess, but could it be that "Break on exception" is  
> turned on?
> Try to turn that off and see if it makes a difference. In the  
> "Debug" menu, select "Exceptions...".

Hi Rob

Thanks for the idea. I turned all of them off but unfortunately still  
get the same error.

Justin Carr
Genie Solutions
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/09/2009, at 8:40 PM, David Dancy wrote:

> OK, I looked a bit more closely this time. I was fooled by the fact
> that 4D came up seemingly without any problems, but looking at the
> output log I see that there are several exceptions being thrown:
>
> Sorry Justin, I should have looked at the right thing to begin with!
>
> Now that I'm looking with my seeing specs on, it appears that the
> Xerces exception is being thrown in VC++9 Express here on XP and also
> in Visual Studio 9 on Vista.
>
> However, I'm not seeing any heap problems when the program quits.

Thanks David. I'm glad it's not just me then. I don't always get the  
heap error thrown. I expect it has something to do with whatever else  
is running or has been running on the system. I'm downloading the  
trial version of Visual Studio 2008 at the moment so I'll see if that  
makes any difference. If not, I guess I'm back to just attaching to  
the 4D process from the debugger. Thanks again for helping research  
this!

Justin Carr
Genie Solutions

**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 09/09/2009, at 5:33 AM, Joshua Fletcher wrote:

>> -----Original Message-----
>> OK, so I've tried 3 different machines (2 running Vista Business and
>> one running XP Pro SP3) with both VC 2005 and 2008 Express editions
>> and they all exhibit the same behaviour...
>
> FWIW I was unable to get plug-in compiling working with the Express  
> Edition
> because of missing dlls that are only included with Pro (so I didn't  
> even
> get as far as testing debugging).
>
> Maybe try a trial version of Pro?

Thanks Josh. I'm downloading the trial version now and I'll post back  
with the results. Interesting that you couldn't compile with the  
Express edition. I've been doing that for years now with no problem.  
I'm not sure what DLLs are missing for you because in all of this  
process I installed the express edition onto a vanilla Vista box and  
had no trouble compiling at all...

Regards
Justin Carr
Genie Solutions
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Parent Message unknown RE: v11 Debug on Windows

by Joshua Fletcher :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Justin,

> -----Original Message-----
> Thanks Josh. I'm downloading the trial version now and I'll post back
> with the results. Interesting that you couldn't compile with the
> Express edition. I've been doing that for years now with no problem.
> I'm not sure what DLLs are missing for you because in all of this
> process I installed the express edition onto a vanilla Vista box and
> had no trouble compiling at all...

Now that I think about it, I was compiling someone else's code, so it could
be libraries they were including...probably not a generic 4D dependency.

Also, I misunderstood your original issue: I thought you were saying you
couldn't debug at all but now I see that you're trying to launch 4D from VC.
I've always used the attach technique, which seems to work for you as well.

Sorry for the noise.

Kind regards,
 
Josh Fletcher
 
--
Josh Fletcher
4D Technical Services Team Member
http://www.4d.com

**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    Early Bird Pricing Ends August 28th - http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by Justin Carr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 09/09/2009, at 9:49 AM, Joshua Fletcher wrote:

>> -----Original Message-----
>> Thanks Josh. I'm downloading the trial version now and I'll post back
>> with the results. Interesting that you couldn't compile with the
>> Express edition. I've been doing that for years now with no problem.
>> I'm not sure what DLLs are missing for you because in all of this
>> process I installed the express edition onto a vanilla Vista box and
>> had no trouble compiling at all...
>
> Now that I think about it, I was compiling someone else's code, so  
> it could
> be libraries they were including...probably not a generic 4D  
> dependency.
>
> Also, I misunderstood your original issue: I thought you were saying  
> you
> couldn't debug at all but now I see that you're trying to launch 4D  
> from VC.
> I've always used the attach technique, which seems to work for you  
> as well.
>
> Sorry for the noise.

No problem at all. Thanks for the response. If the trial version works  
OK you still win the kewpie doll! I can open 4D from VC and debug  
without problems - it's just that I feel uncomfortable doing so with  
the possibility of a corrupted heap lurking in the background. Then  
when I do strike a problem I don't know if it's something I've done or  
something that's beyond my control...

cheers
Justin Carr
Genie Solutions

**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************


Re: v11 Debug on Windows

by David Dancy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Justin

FWIW, I just tried again with Windows 7 and Visual Studio Team Edition 2010.

Same result: EndOfEntityException exception is generated on starting
4D, but no heap corruption warnings on exit.

Cheers

--
David Dancy
Sydney, Australia
**********************************************************************
4D Plugins hosted by 4D, Inc.                      http://www.4D.com/

    Register for 4D Summit 2009 Today
    http://www.4D.com/summit

To Unsubscribe:                      mailto:4D-Plugins-off@...
***********************************************************************

< Prev | 1 - 2 | Next >