Re: Breakpoint instantiation
- From: "Erwin Zwart" <erwin dot zwart at pts dot nl>
- Date: Wed, 4 Jun 2008 13:58:48 +0200
Hi,
So this means, for what reason, that the kernel debugger is not running and
KITL is not initialized. When the kernel boots it tries to initializes KITL.
When this fails, it automatically starts without KITL and kernel debugging,
and thats why you see the output on the serial port in stead of the Platform
Builder output window.
Perhaps you can see some error message regarding failing to initialize KITL
in your serial output?
What are your connectivity settings (Target | connectivity options)
I missed which WinCE version you are running but i assume that for CE 6.0
Kitl.dll is in your ce.bib? And for 5.0 that:
nk.exe
<WINCEROOT>\PBWorkspaces\<YourProject>\RelDir\<CONFIGURATION>\kernkitl.exe
NK SH is used and not
nk.exe
<WINCEROOT>\PBWorkspaces\<YourProject>\RelDir\<CONFIGURATION>\kern.exe
NK SH
Erwin Zwart
"Selin Metin" <nospams@xxxxxxxxx> wrote in message
news:O0pggajxIHA.1980@xxxxxxxxxxxxxxxxxxxxxxx
I tried that already, but the breakpoints looked the same way. The
application may have problem, but also the breakpoints I put in the OS
source files are not instantiated. They are never hit.
I expect the output to be directed to the PB output window, but all
messages are on serial port, and PB output window is empty.
I even suspected that I was not loading any image and the board boots with
pre-installed image, but the modifications I make appear on the system, so
I can download the image.
Selin
shai schrieb:
Hi,
I misunderstood something along the way.
You don't have breakpoints wroking in the BSP at all, or are they not
working just in an application independent of the OS/IMAGE.
Some of the suggestions made above are for the BSP and you seemed to
be complaining on an independent program, yet in your last post you
refer to the platform (BSP?).
Anyway if you download a debug image to the device (this has nothing
to do with hello world app), try to put a breakpoint (say in the init
of the display driver),
all output is supposed to be directed to the PB console. If KITL
connects properly (look at the messages) you should hit the break
point if you are in debug mode.
Shai
On Jun 4, 10:34 am, Selin Metin <nosp...@xxxxxxxxx> wrote:
Once again I'm telling: I have a platform compiled for debug build, with
KITL and Kernel debugger enabled (since the beginning). With all these
settings enabled, I don't have breakpoints!!!
Erwin Zwart schrieb:
The problem is that you are not running a debug kernel.- Show quoted text -
Select the debug configuration and make sure that the following options
are
enabled:
Right click on your OSDesign in the "Solution explorer" tab and select
options from the context menu:
Under the "Configuration proporties" item select "build options".
Make sure that, in the right pane, "Enable KITL" and "Enable Kernel
Debugger" are enabled.
Erwin Zwart
"Selin Metin" <nosp...@xxxxxxxxx> wrote in message
news:%23k6AWjVxIHA.2208@xxxxxxxxxxxxxxxxxxxxxxx
But my module is loaded, I can run it on the device. I see the module
loading message on the output window....
Also I cannot connect to the device with the remote tools. I played
with
the settings, and so on, but it didn't work. The connection is OK for
downloading the image, but no remote connection nor remote shell
execution
is possible. Could the breakpoint problem be related with this? I only
see
Default Device in the remote tools device list.
Selin
SelinAtHeitec
Erwin Zwart schrieb:
The image tells me that your module is not loaded. Thus the
application
did not start.
When you start the module the breakpoint will become a dark red
dot/circle. When the breakpoint hits, there is a yellow arrow in the
red
dot. Thats with the colors ;-)
Have you tried a DebugBreak();?
Erwin Zwart
"Selin Metin" <nosp...@xxxxxxxxx> wrote in message
news:OkMiyeLxIHA.1236@xxxxxxxxxxxxxxxxxxxxxxx
When I set breakpoints, they look like the image file. Normally they
should have dark red colour, and when the debugger becomes active
and
the application is loaded, they should turn to bright red. The
caution
triangle makes me suspicious that something is wrong.
Almost all the settings of my OS design and the subproject are
default.
Where could be the problem?
Jack schrieb:
The behaviour you describe is correct.
The breakpoints are only "active" when you have a debug connection,
and the pdb file is loaded.- Hide quoted text -
.
- Follow-Ups:
- Re: Breakpoint instantiation
- From: Selin Metin
- Re: Breakpoint instantiation
- From: Selin Metin
- Re: Breakpoint instantiation
- References:
- Re: Breakpoint instantiation
- From: embedinfo
- Re: Breakpoint instantiation
- From: Jack
- Re: Breakpoint instantiation
- From: Selin Metin
- Re: Breakpoint instantiation
- From: Jack
- Re: Breakpoint instantiation
- From: Selin Metin
- Re: Breakpoint instantiation
- From: Erwin Zwart
- Re: Breakpoint instantiation
- From: Selin Metin
- Re: Breakpoint instantiation
- From: Erwin Zwart
- Re: Breakpoint instantiation
- From: Selin Metin
- Re: Breakpoint instantiation
- From: shai
- Re: Breakpoint instantiation
- From: Selin Metin
- Re: Breakpoint instantiation
- Prev by Date: Re: Breakpoint instantiation
- Next by Date: Re: Reading MAC Address
- Previous by thread: Re: Breakpoint instantiation
- Next by thread: Re: Breakpoint instantiation
- Index(es):
Loading