Why Does the LSP Suddenly Lock Up When "Load Select" is Picked?

Why Does the LSP Suddenly Lock Up When "Load Select" is Picked?

mgorecki
Collaborator Collaborator
362 Views
3 Replies
Message 1 of 4

Why Does the LSP Suddenly Lock Up When "Load Select" is Picked?

mgorecki
Collaborator
Collaborator

Does anyone know why when debugging (line by line), suddenly the top of the page says "...loading" and then it locks up and I can't proceed.

This happens all the time.  It's a simple line like (setq something 2.3).  I highlight it and from the menu bar I pick "load selection".  Most of the time it just does it, but sometimes (too often) it locks up and goes into "loading..." mode and I have to kill the code and save it because it never stops loading.

This is AutoCad 2018.

0 Likes
Accepted solutions (1)
363 Views
3 Replies
Replies (3)
Message 2 of 4

Sea-Haven
Mentor
Mentor
Accepted solution

If your copy and pasting lines of code to command line, I do all the time, you need to remove fancy indenting the use of tab will cause problems, same as the last character per line is ) no remarks or spaces afterwards.

 

Ok

(setq something 2.3)

no go

 (setq something 2.3)

     (setq something 2.3)

(setq something 2.3) 

 

0 Likes
Message 3 of 4

mgorecki
Collaborator
Collaborator

I don'believe I had spa ces or anything like that, but I will be extra vigilant to make sure that doesnt happen.  Thanks for letting me know about those things.

0 Likes
Message 4 of 4

ВeekeeCZ
Consultant
Consultant

@Sea-Haven wrote:

If your copy and pasting lines of code to command line, I do all the time, you need to remove fancy indenting the use of tab will cause problems, same as the last character per line is ) no remarks or spaces afterwards.

 


 

Never did, never happend. 

0 Likes