MB 5.0.0.3 beta 4 : Stacked in asm debuger window

Discuss about beta versions of mikroBasic
compiler.
Post Reply
Author
Message
Kalain
Posts: 1093
Joined: 11 Mar 2005 18:26
Location: Aubenas, France

MB 5.0.0.3 beta 4 : Stacked in asm debuger window

#1 Post by Kalain » 08 Sep 2007 12:29

Hi,

Try and simulate this code (18F452 @ 8MHz) :
- compile it
- open debugger window
- press F7 key (step into)
At GlcdInit instruction, debugger swap to asm window but now ou can't simulate any more pbas window. Even if ou press "Dissasembl view", close debugger window, even after a new compilation.
If you close project and reopen it, debugger will still simulate asm window.
The onl way to simulate again pbas window is to close MB and reload project.

Code: Select all

Program testv

dim testv as byte

main:
TRISA = $FF
TRISB = 0
TRISC = 0
TRISD = 0
ADCON1 = 7
ADCON0 = 0
CCP1CON = 0
PORTA = 0

Glcd_Init(PORTB, 2, 3, 4, 5, 7, 6, PORTD)

testv = 10

end.

Alain

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: MB 5.0.0.3 beta 4 : Stacked in asm debuger window

#2 Post by zristic » 10 Sep 2007 09:13

The simulator loops infinetly in GLCD library (which you do not have) waiting for GLCD to respond, which never happens. Therefore, it will not be possible to go further from that point.

I restarted the simulator (F9), switched off Disasembly View and all worked fine again, until GLCD library is to be called.

Post Reply

Return to “mikroBasic Beta testing”