Page 1 of 1

how can i output debug-info when i execute windows.exe?

PostPosted: Mon Mar 08, 2010 9:59 am
by linjichao
i wanna to output the debug-info while execute the demo.exe that export from windows.bin...

i just see the GLOUTPUT function in ge-source code, so i use the GLOUTPUT too, but i can't get debug info from stdout.txt...

is that can implements ? or can not?

i will pleasure and appreciation who can tell me ...

Re: how can i output debug-info when i execute windows.exe?

PostPosted: Mon Mar 08, 2010 1:31 pm
by makslane
I think is better execute the debug version inside the IDE.
Export the game with the name game1.dat and execute the stand alone version from the IDE

Re: how can i output debug-info when i execute windows.exe?

PostPosted: Mon Mar 08, 2010 4:37 pm
by linjichao
makslane wrote:I think is better execute the debug version inside the IDE.
Export the game with the name game1.dat and execute the stand alone version from the IDE


thanks... but i hava another problem about link wxGameEditor, i think you will temper for me that go on complie-link wxGameEditor, but i really want to know why i get error "../src/msw/window.cpp" assert "hWnd" failed. no HWND in GetScrollPos and so on...

on the other hand...
i get debug info while link wxGameEditor(wxWidget2.8.10) by vs2008, as below:
00:30:30: ..\..\include\wx/msw/private.h(338): 'GetWindowRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: ..\..\include\wx/msw/private.h(338): 'GetWindowRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: ..\..\include\wx/msw/private.h(338): 'GetWindowRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: ..\..\include\wx/msw/private.h(338): 'GetWindowRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: X:\GameEditor\NetVersion\wxWidgets\src\msw\window.cpp(1929): 'MoveWindow' failed with error 0x00000578 (invalid window handle。).
00:30:30: ..\..\include\wx/msw/private.h(348): 'GetClientRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: ..\..\include\wx/msw/private.h(348): 'GetClientRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: ..\..\include\wx/msw/private.h(348): 'GetClientRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: ..\..\include\wx/msw/private.h(348): 'GetClientRect' failed with error 0x00000578 (invalid window handle。).
00:30:30: X:\GameEditor\NetVersion\wxWidgets\src\msw\window.cpp(919): assert "hWnd" failed: no HWND in GetScrollPos

hehe...
thanks in advance ...

Re: how can i output debug-info when i execute windows.exe?

PostPosted: Mon Mar 08, 2010 5:19 pm
by makslane
I have no idea. The code must be debugged for errors like this.