Debug Help on application hang
-
- Knows some wx things
- Posts: 33
- Joined: Fri Jun 30, 2017 12:34 pm
Debug Help on application hang
I am running on a Windows Embedded Compact 7 ARMV7 based system and as I am debugging (stepping thru code) I get some different
places where when I step the application hangs. I thought it might be stack or heap space limitations but I am looking for some suggestions
on the best way to isolate this problem.
Most of the time the problem occurs on the m_mainLoop->Run() call in appcmn.cpp file. I am running version 2.8.3. I have to use this version
because my customer requires it. This is a wxAppConsole.
I believe an exception is occurring but don't see any output indicating error.
Any suggestions are greatly welcome!
places where when I step the application hangs. I thought it might be stack or heap space limitations but I am looking for some suggestions
on the best way to isolate this problem.
Most of the time the problem occurs on the m_mainLoop->Run() call in appcmn.cpp file. I am running version 2.8.3. I have to use this version
because my customer requires it. This is a wxAppConsole.
I believe an exception is occurring but don't see any output indicating error.
Any suggestions are greatly welcome!
Re: Debug Help on application hang
Hi,
Is hanging occurs at the same place?
Thank you.
Is hanging occurs at the same place?
Thank you.
-
- Knows some wx things
- Posts: 33
- Joined: Fri Jun 30, 2017 12:34 pm
Re: Debug Help on application hang
At different places if I rebuild app but in the same general location. I really think it has something to do with memory.
Re: Debug Help on application hang
Or resources...
Make sure that you release everything if you don't need it.
Thank you.
Make sure that you release everything if you don't need it.
Thank you.
-
- Knows some wx things
- Posts: 33
- Joined: Fri Jun 30, 2017 12:34 pm
Re: Debug Help on application hang
This application runs on Windows CE6 so I think the program should be ok. I ported it to VS 2008 and EC7 but never really changed the
actual application code. I believe the problem has to do VS Debug Environment or program settings.
Is __WXMSW__ supposed to be defined for Windows EC?
actual application code. I believe the problem has to do VS Debug Environment or program settings.
Is __WXMSW__ supposed to be defined for Windows EC?
Re: Debug Help on application hang
Just out of curiosity: On which device does this run?
Did you compile any of the wxWidgets samples? Do they run fine?
Did you compile any of the wxWidgets samples? Do they run fine?
Use the source, Luke!
-
- Knows some wx things
- Posts: 33
- Joined: Fri Jun 30, 2017 12:34 pm
Re: Debug Help on application hang
It is on a ARM7 processor run Windows Embedded Compact Version 7.
-
- Knows some wx things
- Posts: 33
- Joined: Fri Jun 30, 2017 12:34 pm
Re: Debug Help on application hang
I have a simple application that runs. It uses my built wxWidgets libs.
Re: Debug Help on application hang
I wanted to know the actual device.It is on a ARM7 processor run Windows Embedded Compact Version 7.
Use the source, Luke!
Re: Debug Help on application hang
How simple? Maybe it's too simple to find any errors. I would suggest to build and run as many of the samples as possible. It's still possible that the problem lies somewhere in the wxWidgets libs or their build process.I have a simple application that runs. It uses my built wxWidgets libs.
Use the source, Luke!
-
- Knows some wx things
- Posts: 33
- Joined: Fri Jun 30, 2017 12:34 pm
Re: Debug Help on application hang
Any idea why a quartz thread is running? I still need to know if I should be defining __WXMSW__ for a windows embedded compact build?
-
- Knows some wx things
- Posts: 33
- Joined: Fri Jun 30, 2017 12:34 pm
Re: Debug Help on application hang
Turns out another thread's interface to the kernel was causing some bad behavior in the OS.