- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a way to stop the timers when code execution stops? when I step throuh the code I get stuck in my Millisecond timer interrupt and just steps through it over and over. When I program the device and let it run it all acts normally. It also acts normally in the debugger until I try to step through the code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is (sadly said) normal behaveour. When your program halts at a breakpoint your internal hardware keeps on running, so the next interrupt from your timer gets pending and as soon as you try to leave your interrupt handler it becomes active. When you reach your BP you may switch off (disable) interrupts using the icon on top of Creators page in the run/debug area.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, there is. I think ist somewhere in the debig configuration, and is called like 'disabled interrupts while single-step' or so. I always forget wher it is 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
" I think ist somewhere in the debig configuration, and is called like 'disabled interrupts while single-step' or so"
That is what I'm looking for. Every other Micr debug environment I have used has had that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
" I think ist somewhere in the debig configuration, and is called like 'disabled interrupts while single-step' or so"
That is what I'm looking for. Every other Micr debug environment I have used has had that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a button in the toolbar - when you are debugging - that lets you disable/enable interrupts during the debug session. Looks like a lightning bolt crossed out.
-- Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oh, and I was looking for a option in some preference dialog every time... No wonder I cannot remember were it was 😞
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We thought about making it an option but decided users would prefer to be able to switch it on and off with wild abandon!
-- Mark.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And its better that way, agreed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whats about writing a KB-entry about this theme? As far as I remember (and I'm getting old) there must have been 10 threads regarding this theme which I answered.
A well tagged KB with options as in goolgle to search for (with + and -) would help everyone saving time and getting precise answers.
Bob