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

Questions, comments and discussion about the Game Editor development.

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

Postby linjichao » Mon Mar 08, 2010 9:59 am

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 ...
linjichao
 
Posts: 35
Joined: Fri Jan 22, 2010 10:13 am
Score: 0 Give a positive score

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

Postby makslane » Mon Mar 08, 2010 1:31 pm

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
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

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

Postby linjichao » Mon Mar 08, 2010 4:37 pm

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 ...
linjichao
 
Posts: 35
Joined: Fri Jan 22, 2010 10:13 am
Score: 0 Give a positive score

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

Postby makslane » Mon Mar 08, 2010 5:19 pm

I have no idea. The code must be debugged for errors like this.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest