Searching \ for 'MPLAB 3.40 crashes at breakpoint! Sometimes...' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'MPLAB 3.40 crashes at breakpoint! Sometimes...'.

Truncated match.
PICList Thread
'MPLAB 3.40 crashes at breakpoint! Sometimes...'
1998\05\02@172707 by Morgan Olsson

picon face
Started using MPLAB340 yesterday
Most seem to work OK, except some annoyances.

But when it hit some breakpoint MPLAB hangs completely!
(OK. maybe it simulates the hang of the PIC chip...?? ;-) )
But other breakpoints are OK, just some not??

I changed the code and then it did not hang.
(the code worked OK both times if i did not set that breakpoint)
 
Feels weird!

Anybody else having this problem?

Windows pops up a message saying, translated to english
"Common protection error" as follow below:
------------------------------------------------
MPLAB orsakade ett allmŠnt skyddsfel
i modul MPLAB.EXE pΠadress 001b:00000550.
Register:
EAX=816f0001 CS=4ccf EIP=00000550 EFLGS=00000297
EBX=00020000 SS=4f17 ESP=0000a144 EBP=0000a150
ECX=00000003 DS=4f17 ESI=00020000 FS=0000
EDX=00000000 ES=0000 EDI=00000000 GS=0000
Byte pΠCS:EIP:
26 8b 07 26 0b 47 02 74 12 c4 5e fa 26 8b 57 02
Stackdump:
0001001a 00000000 4f170000 0f9ea16d 000043af 000000da 51f300da 12dc5ee7
12dc5eef 4f175eef 0c35a179 001a43af 4f170000 06c2a189 001a4f0f 1b770007
------------------------------------------------
I use Windows 95 4.00.950B, Swedish, upgraded some times...

I of course still have MPLAB 3.31 in a separate directory, so I just copy
files between (except the .pjt file) so there is no fire on the roof, just
a pity 3.40 seem not have grown up yet.

/Morgan
/  Morgan Olsson, MORGANS REGLERTEKNIK, SE-277 35 KIVIK, Sweden \
\  spam_OUTmrtTakeThisOuTspaminame.com, ph: +46 (0)414 70741; fax +46 (0)414 70331    /

1998\05\02@200834 by Darrel Johansen

picon face
If you can isolate the place where it crashes, please send us the program and
give us some info of the sequence of events leading up to it.  We are not aware
of any severe problems like this.

Please send to:

.....darrel.johansenKILLspamspam@spam@microchip.com

1998\05\03@065823 by Morgan Olsson

picon face
At 17:02 1998-05-02 -0700, you wrote:
>If you can isolate the place where it crashes, please send us the program and
>give us some info of the sequence of events leading up to it.  We are not
aware
>of any severe problems like this.

Sounds nice.

>Please send to:
>
>darrel.johansenspamKILLspammicrochip.com

You bet I will! ;)

I have zipped together a project and sent it to you with instructions on
how to make MPLAB3.40 crash.

It seem to be dependant of which file windows I have open in MPLAB.
For now, it crashes if i have the root source .lst file open, and execute
the run command. The animate function works OK.
Maybe other like to try this...

I usually do all single stepping looking in the root .lst file, and having
minimized all include and assembler windows.

(Else, it I find it really annoying when the macro definition files etc
keeps popping around every other instruction!!   In the modules i have set
the list directive to include all assembler and exclude comment headers etc.)

Have fun :)

/Morgan
/  Morgan Olsson, MORGANS REGLERTEKNIK, SE-277 35 KIVIK, Sweden \
\  .....mrtKILLspamspam.....iname.com, ph: +46 (0)414 70741; fax +46 (0)414 70331    /

1998\05\03@222101 by Larry G. Nelson Sr.

flavicon
face
I have seen similar things in a 54 based project during simulation under NT
4.0. I Know, I Know, this OS is unsuppoorted but it was the one system I
was not afraid to upgrade to play with while finishing some projects on the
older system. I also see some problems crashing while doing a step over
command. The breakpoints do not crash they just sometimes don't work or
stop at an unrelated location. I also informed the local FAE here in MA of
the things I have seen.



At 12:49 PM 5/3/98 +0200, you wrote:
>At 17:02 1998-05-02 -0700, you wrote:
>>If you can isolate the place where it crashes, please send us the program
and
{Quote hidden}

Larry G. Nelson Sr.
@spam@L.NelsonKILLspamspamieee.org
http://www.ultranet.com/~nr

1998\05\04@050706 by Andy David

flavicon
face
MPLAB 3.40 is a little unstable for me. Recently I've been working on
software for the 17c43, the 17c756 and the 12c671 and the crashes I've had
are usually independent of whether I'm emulating (with a PICMaster) or
simulating.


3.40 has crashed when (most likely first):

1) adding/deleting items to/from watch windows
2) assembling without saving the file first (a bad habit of mine that I'm
gradually working my way out of)

...and not really a crash per se...

3) Once when assembling a 12c671 program, MPASM wasn't starting and MPLAB
was
timing out. This seems to have gone away...


Whereas previous versions of MPLAB would not rebuild a project if the main
file or a dependent had not been modified since last build, 3.40 always
builds.

A couple of funnies that I've had with pretty much all versions of MPLAB
I've used is that sometimes the menu bar is two lines tall instead of one
(so that when I load a project, my windows don't fit the area) and
sometimes one of the pulldown menus will be the width of the screen whilst
the other menus are normal. For either of these two occurrances, I just
close and reopen MPLAB for it to go away.

3.40 is the only version of MPLAB that I've had any trouble with, but I'm
sticking with it (for the moment, at least) because of the extra watch
window facilities and because of the '671 work I'm doing. Two or three
crashes per day is irritating, but I can _JUST_ live with it (any MPLAB
developers reading this post - you didn't see that!).



- Andy.

----------------------------------------------------------
Andrew David, Software Manager, Ultronics Ltd, Cheltenham.
KILLspamakdavidKILLspamspamUltronics.co.uk
----------------------------------------------------------

1998\05\04@074258 by g.daniel.invent.design

flavicon
face
Andy David wrote:
{Quote hidden}

Andy,
you can select Options/enVironment/toolbar setuP
and change button size; if large buttons then can take more than one
line for buttons, is this your problem?

If you've added extra buttons, then selecting different modes ie
debug/project/user may overflow the button line.

If the above is not your problem then maybe you have a display driver or
non windows compatibility problem?

regards,
Graham Daniel

1998\05\04@093100 by Andy David

flavicon
face
Graham Danial wrote:

> you can select Options/enVironment/toolbar setuP
> and change button size; if large buttons then can take more than one
> line for buttons, is this your problem?
>
> If you've added extra buttons, then selecting different modes ie
> debug/project/user may overflow the button line.

       Thanks for the advice, Graham.

       The only change I've made to MPLAB is some of the key mappings -
       I don't like having BUILD next to RUN, particularly as
       in 3.40 a new BUILD clears all breakpoints.

       What I meant    when I said the the Menu bar takes two lines instead
       of one  is that where it says "File   Project   Edit ..." it looks like
       this line wraps onto the next line but with no text on the second
       line - so when I load a project file, my code windows etc don't
       fit in the (now smaller) client area. I use 1024x768 and the menu
       bar text extends less than half way across the screen.


> If the above is not your problem then maybe you have a display driver or
> non windows compatibility problem?

       This only ever happens with MPLAB, and I've not seen it
       happen with PFE (which MPLAB is based on), but I really don't
       use PFE very often. But it doesn't bother me enough to
       warrant spending the time on fixing it. What I know about Win95
       programming would fit in a box of matches, probably WITH the matches.

       I've checked the toolbar setup and the button size is automatic
       and is being set to large.      FWIW I'll set it to medium and see
       what happens.



- Andy.

----------------------------------------------------------
Andrew David, Software Manager, Ultronics Ltd, Cheltenham.
spamBeGoneakdavidspamBeGonespamUltronics.co.uk          http:\\http://www.ultronics.com
----------------------------------------------------------

1998\05\04@114757 by robert bowman

flavicon
face
Andy David wrote:

> MPLAB 3.40 is a little unstable for me.

i moved MPLAB to my new box, which had a freshly reformatted HD and a new
Win95 install. the hangup i was experiencing went away, and MPLAB seems to
perform faultlessly. in fact, it is about the only thing that isn't crashing
down about my ears. death to Explorers, whatever their flavor!

1998\05\04@135241 by Calvin

flavicon
face
>MPLAB 3.40 is a little unstable for me. Recently I've been working on
>software for the 17c43, the 17c756 and the 12c671 and the crashes I've had
>are usually independent of whether I'm emulating (with a PICMaster) or
>simulating.

<snipo>

>
>A couple of funnies that I've had with pretty much all versions of MPLAB
>I've used is that sometimes the menu bar is two lines tall instead of one
>(so that when I load a project, my windows don't fit the area) and
>sometimes one of the pulldown menus will be the width of the screen whilst
>the other menus are normal. For either of these two occurrances, I just
>close and reopen MPLAB for it to go away.
>


Hey,
I thoght I was the only one getting these!!!.

Calvin



{Quote hidden}

1998\05\04@175009 by Morgan Olsson

picon face
>Whereas previous versions of MPLAB would not rebuild a project if the main
>file or a dependent had not been modified since last build, 3.40 always
>builds.

Not for me. (or I might do wrong?)

...

>        What I meant    when I said the the Menu bar takes two lines instead
>        of one  is that where it says "File   Project   Edit ..." it looks
like
>        this line wraps onto the next line but with no text on the second
>        line - so when I load a project file, my code windows etc don't
>        fit in the (now smaller) client area. I use 1024x768 and the menu
>        bar text extends less than half way across the screen.

I remember seeing this om my screen two months ago.
I too remember solving this by restarting.
Could of chronological reason not have been MPLAB3.40, maybe 3.31?
I too use 1024x768.  No big deal.

...

...
> death to Explorers, whatever their flavor!

try http://opera.nta.no/
Fast on slow machines, much more stable (for me, anyway),
better user interface and screen area usage.


/Morgan
/  Morgan Olsson, MORGANS REGLERTEKNIK, SE-277 35 KIVIK, Sweden \
\  RemoveMEmrtspamTakeThisOuTiname.com, ph: +46 (0)414 70741; fax +46 (0)414 70331    /

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...