Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7887059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T05:28:56+00:00 2026-06-03T05:28:56+00:00

My lua source file have a filename > 60 chars (with needful non absolute

  • 0

My lua source file have a filename > 60 chars (with needful non absolute path)
When the debugger is running, LuaDebugger.cs performs a breakpoint check:

breakpoint = GetBreakpoint(src, line);

GetBreakpoint call GetFile() but it always returns null because

String.Compare(fileName, file.FileName, StringComparison.OrdinalIgnoreCase) 

fails

when filename = luaDebug.shortsrc 

(shortsrc is defined by [System.Runtime.InteropServices.MarshalAs(System.Runtime.InteropServices.UnmanagedType.ByValTStr, SizeConst = 60/*LUA_IDSIZE*/)]
)

If I use filename = luaDebug.source.toString().Substring(1) it works but I do not want to change luainterface-debugger source code.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T05:28:57+00:00Added an answer on June 3, 2026 at 5:28 am

    Well, if you don’t want to change the source code, you have little options, because it’s the sourcecode itself what’s giving you roblems (I’d assume it’s that LUA_IDSIZE const).

    Without modifying the code, the options you have are very limited. They all involve giving up on having more than 60 character paths.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a closed-source lua file, and to do so, I'm taking
I have a Lua program that is consuming data from an external device. The
I have successfully compiled lua in my mac. It works. It runs. Now, I
When I look through the source code files I have downloaded from the PHP
Ok, what we have: Program written on C which compiling and running without problems
I'm attempting to call a function inside of a lua file called test2.lua This
I'll be quick: I have a C++ application that embeds Lua. Until now I
I have seen code in lua like this if (a==b or false) then what
I would like to have a detailed explanation. How would I use the Lua
I'm working with large numbers that I can't have rounded off. Using Lua's standard

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.