Author Topic: Stack editing python code in beta2  (Read 972 times)

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Stack editing python code in beta2
« on: August 20, 2020, 07:02:52 PM »
Also see attached picture.

Code: [Select]
Stack trace written to file: /tmp/vsstack.rbresali
 Invalid number argument
math.ex 1730 dec2hex(100.0,16)   p_window_id: 2328   p_object: OI_EDITOR   p_name:
debugpkg.ex 11028 debugpkg:EvaluateMouseExpression(
   1:   ._typename()=MouseOverExpression
   1:   .windowId=2328
   1:   .bufferId=55
   1:   .lastModified=59683
   1:   .mouse-x=431
   1:   .mouse-y=262
   1:   .line=308
   1:   .col=40
   1:   .idexp-info._typename()=VS-TAG-IDEXP-INFO
   1:   .idexp-info.errorArgs=(null)
   1:   .idexp-info.prefixexp=
   1:   .idexp-info.lastid=100.0
   1:   .idexp-info.lastidstart-col=36
   1:   .idexp-info.lastidstart-offset=15749
   1:   .idexp-info.info-flags=0
   1:   .idexp-info.otherinfo=(null)
   1:   .idexp-info.prefixexpstart-offset=0
   1:   .idexp-info.cursor-col=(null)
   1:   .expr=100.0
   1:   .tag-info=
   1:   .comment-info=
   1:   .tagList=<empty>
   2:   
   p_window_id: 5
   p_object: OI_FORM
   p_name:
debugpkg.ex 16199 debug_get_mouse_expr(397,45,@17918,,100.0,<empty>)   p_window_id: 5   p_object: OI_FORM   p_name:
mouse.ex 27247 mouse:handle_mouse_move(0)   p_window_id: 5   p_object: OI_FORM   p_name:
mouse.ex 25087 _MouseMoveTimerCallback(2328)   p_window_id: 5   p_object: OI_FORM   p_name:

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: Stack editing python code in beta2
« Reply #1 on: August 20, 2020, 07:22:48 PM »
Just got another one editing my python file, very similar:

Code: [Select]
Stack trace written to file: /tmp/vsstack.rbresali
 Invalid number argument
math.ex 1730 dec2hex(1024.0,16)   p_window_id: 474   p_object: OI_EDITOR   p_name:
debugpkg.ex 11028 debugpkg:EvaluateMouseExpression(
   1:   ._typename()=MouseOverExpression
   1:   .windowId=474
   1:   .bufferId=55
   1:   .lastModified=61271
   1:   .mouse-x=513
   1:   .mouse-y=183
   1:   .line=325
   1:   .col=49
   1:   .idexp-info._typename()=VS-TAG-IDEXP-INFO
   1:   .idexp-info.errorArgs=(null)
   1:   .idexp-info.prefixexp=
   1:   .idexp-info.lastid=1024.0
   1:   .idexp-info.lastidstart-col=45
   1:   .idexp-info.lastidstart-offset=16249
   1:   .idexp-info.info-flags=0
   1:   .idexp-info.otherinfo=(null)
   1:   .idexp-info.prefixexpstart-offset=0
   1:   .idexp-info.cursor-col=(null)
   1:   .expr=1024.0
   1:   .tag-info=
   1:   .comment-info=
   1:   .tagList=<empty>
   2:   
   p_window_id: 5
   p_object: OI_FORM
   p_name:
debugpkg.ex 16199 debug_get_mouse_expr(478,54,@17792,,1024.0,<empty>)   p_window_id: 5   p_object: OI_FORM   p_name:
mouse.ex 27247 mouse:handle_mouse_move(0)   p_window_id: 5   p_object: OI_FORM   p_name:
mouse.ex 25087 _MouseMoveTimerCallback(474)   p_window_id: 5   p_object: OI_FORM   p_name:

rowbearto

  • Senior Community Member
  • Posts: 2335
  • Hero Points: 132
Re: Stack editing python code in beta2
« Reply #2 on: August 20, 2020, 07:24:52 PM »
Got it a 3rd time.

Look for "pystack.py" on support. My cursor was at line 325 column 51 (or thereabouts).

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Stack editing python code in beta2
« Reply #3 on: August 20, 2020, 09:13:21 PM »
Reproduced. Just need 1024.0 in the file.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6866
  • Hero Points: 528
Re: Stack editing python code in beta2
« Reply #4 on: August 20, 2020, 09:24:09 PM »
Fixed in beta 3